tmp_suning_uos_patched/drivers/atm
David Woodhouse ce816eb064 solos-pci: Increase headroom on received packets
A comment in include/linux/skbuff.h says that:

 * Various parts of the networking layer expect at least 32 bytes of
 * headroom, you should not reduce this.

This was demonstrated by a panic when handling fragmented IPv6 packets:
http://marc.info/?l=linux-netdev&m=144236093519172&w=2

It's not entirely clear if that comment is still valid — and if it is,
perhaps netif_rx() ought to be enforcing it with a warning.

But either way, it is rather stupid from a performance point of view
for us to be receiving packets into a buffer which doesn't have enough
room to prepend an Ethernet header — it means that *every* incoming
packet is going to be need to be reallocated. So let's fix that.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 21:29:07 -07:00
..
.gitignore
adummy.c atm: correct sysfs 'device' link creation and parent relationships 2010-12-10 15:45:05 -08:00
ambassador.c atm: ambassador: use NULL instead of 0 for pointer 2014-02-19 16:39:10 -05:00
ambassador.h ATM: Delete no use FILL_RX_POOLS_IN_BH marco 2011-07-08 09:06:31 -07:00
atmtcp.c drivers/atm/atmtcp.c: fix error return code 2014-08-07 16:02:57 -07:00
eni.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c atm: firestream: Use del_timer_sync() in teardown path 2014-03-25 21:06:02 -04:00
firestream.h atm: firestream: remove duplicate define 2013-10-21 18:46:46 -04:00
fore200e.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
fore200e.h Fix common misspellings 2011-03-31 11:26:23 -03:00
he.c atm: he: drop null test before destroy functions 2015-09-15 16:49:43 -07:00
he.h atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
horizon.c atm: horizon: Remove some unused functions 2015-01-13 17:28:19 -05:00
horizon.h
idt77105.c atm: idt77105: Use setup_timer 2015-06-10 22:46:34 -07:00
idt77105.h
idt77252_tables.h
idt77252.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
idt77252.h Fix common misspellings 2011-03-31 11:26:23 -03:00
iphase.c atm: use msecs_to_jiffies for conversions 2015-06-08 15:48:45 -07:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-08 14:22:05 -05:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
lanai.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
Makefile Drivers: atm: Makefile: replace the use of <module>-objs with <module>-y 2010-10-21 03:09:48 -07:00
midway.h
nicstar.c drivers: atm: nicstar: remove ifdef'd out skb destructors 2015-03-10 13:34:53 -04:00
nicstar.h atm: [nicstar] remove virt_to_bus() and support 64-bit platforms 2010-05-31 00:27:46 -07:00
nicstarmac.c atm: [nicstar] reformatted with Lindent 2010-05-31 00:27:46 -07:00
nicstarmac.copyright drivers/atm/: remove CVS keywords 2008-05-20 14:52:25 -07:00
solos-attrlist.c solos: Add 'Firmware' attribute for Traverse overall firmware version 2010-11-08 12:17:04 -08:00
solos-pci.c solos-pci: Increase headroom on received packets 2015-09-17 21:29:07 -07:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h atm: [suni] add support for setting loopback and framing modes 2008-06-17 16:19:24 -07:00
tonga.h
uPD98401.h
uPD98402.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uPD98402.h
zatm.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
zatm.h
zeprom.h