linux-stable/drivers/net/can
Wolfgang Grandegger a6e4bc5304 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 <wg@grandegger.com>
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-13 03:44:04 -07:00
..
sja1000 can: make the number of echo skb's configurable 2009-10-13 03:44:04 -07:00
usb can: make the number of echo skb's configurable 2009-10-13 03:44:04 -07:00
at91_can.c can: make the number of echo skb's configurable 2009-10-13 03:44:04 -07:00
dev.c can: make the number of echo skb's configurable 2009-10-13 03:44:04 -07:00
Kconfig can: add TI CAN (HECC) driver 2009-10-07 22:02:53 -07:00
Makefile can: add TI CAN (HECC) driver 2009-10-07 22:02:53 -07:00
ti_hecc.c can: make the number of echo skb's configurable 2009-10-13 03:44:04 -07:00
vcan.c can: fix NOHZ local_softirq_pending 08 warning 2009-09-15 01:31:34 -07:00