]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'eth_get_headlen'
authorDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 00:47:12 +0000 (17:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 00:47:12 +0000 (17:47 -0700)
commit2ba38943ba190eb6a494262003e23187d1b40fb4
treed132fa676dc72a6bb0b9c6ef648f2dc694b6eeda
parent2c048e646212f9880e6f201771a30daa963d7f8b
parent8496e3382e33ef0b6862e07aaf4025420223232e
Merge branch 'eth_get_headlen'

Alexander Duyck says:

====================
net: Drop get_headlen functions in favor of generic function

This series replaces the igb_get_headlen and ixgbe_get_headlen functions
with a generic function named eth_get_headlen.

I have done some performance testing on ixgbe with 258 byte frames since
the calls are only used on frames larger than 256 bytes and have seen no
significant difference in CPU utilization.

v2: renamed __skb_get_poff to skb_get_poff
    renamed ___skb_get_poff to __skb_get_poff
====================

Signed-off-by: David S. Miller <davem@davemloft.net>