From: Wolfgang Grandegger Date: Thu, 8 Oct 2009 22:17:11 +0000 (+0000) Subject: can: make the number of echo skb's configurable X-Git-Tag: v2.6.33-rc1~388^2~824 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e4bc5304033e434fabccabb230b8e9ff55d76f;p=pandora-kernel.git can: make the number of echo skb's configurable This patch allows the CAN controller driver to define the number of echo skb's used for the local loopback (echo), as suggested by Kurt Van Dijck, with the function: struct net_device *alloc_candev(int sizeof_priv, unsigned int echo_skb_max); The CAN drivers have been adapted accordingly. For the ems_usb driver, as suggested by Sebastian Haas, the number of echo skb's has been increased to 10, which improves the transmission performance a lot. Signed-off-by: Wolfgang Grandegger Signed-off-by: Kurt Van Dijck Signed-off-by: David S. Miller --- Reading git-diff-tree failed