mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 20:21:57 +00:00
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> |
||
---|---|---|
.. | ||
ethernet-defines.h | ||
ethernet-mdio.c | ||
ethernet-mdio.h | ||
ethernet-mem.c | ||
ethernet-mem.h | ||
ethernet-rgmii.c | ||
ethernet-rx.c | ||
ethernet-rx.h | ||
ethernet-sgmii.c | ||
ethernet-spi.c | ||
ethernet-tx.c | ||
ethernet-tx.h | ||
ethernet-util.h | ||
ethernet-xaui.c | ||
ethernet.c | ||
Kconfig | ||
Makefile | ||
octeon-ethernet.h |