linux-imx/drivers/atm
Alexander Duyck 93a1554e0c skb: Add inline helper for getting the skb end offset from head
[ Upstream commit ec47ea8247 ]

With the recent changes for how we compute the skb truesize it occurs to me
we are probably going to have a lot of calls to skb_end_pointer -
skb->head.  Instead of running all over the place doing that it would make
more sense to just make it a separate inline skb_end_offset(skb) that way
we can return the correct value without having gcc having to do all the
optimization to cancel out skb->head - skb->head.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-06-09 13:29:00 +01:00
..
.gitignore [ATM]: Ignore generated file pca200e_ecd.bin2 2006-12-11 14:34:35 -08:00
adummy.c atm: correct sysfs 'device' link creation and parent relationships 2010-12-10 15:45:05 -08:00
ambassador.c skb: Add inline helper for getting the skb end offset from head 2014-06-09 13:29:00 +01:00
ambassador.h ATM: Delete no use FILL_RX_POOLS_IN_BH marco 2011-07-08 09:06:31 -07:00
atmtcp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eni.c net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
eni.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
firestream.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
firestream.h
fore200e.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
fore200e.h Fix common misspellings 2011-03-31 11:26:23 -03:00
he.c atm: he: Fix undefined sequence points. 2011-04-17 00:07:55 -07:00
he.h atm: [he] rewrite buffer handling in receive path 2010-05-31 00:27:47 -07:00
horizon.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
horizon.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
idt77105.c atm: idt77105: fix fetch_stats() result 2011-01-21 16:24:23 -08:00
idt77105.h [ATM]: [idt77105] should be __devinit not __init 2006-06-29 16:58:12 -07:00
idt77252_tables.h
idt77252.c skb: Add inline helper for getting the skb end offset from head 2014-06-09 13:29:00 +01:00
idt77252.h Fix common misspellings 2011-03-31 11:26:23 -03:00
iphase.c atm/iphase : removal of PCI space dereferences. 2011-10-03 14:09:10 -04:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-20 03:15:35 +00:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
lanai.c atm: Convert vmalloc/memset to vzalloc 2011-09-15 13:55:02 +02: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 atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07: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: fix double-free of TX skb in DMA mode 2013-01-03 03:33:37 +00:00
suni.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07: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 atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
zatm.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
zeprom.h