netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Drop get_headlen functions in favor of generic funciton
@ 2014-09-05 18:09 Alexander Duyck
  2014-09-05 18:10 ` [PATCH net-next 1/3] net: Add function for parsing the header length out of linear ethernet frames Alexander Duyck
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Duyck @ 2014-09-05 18:09 UTC (permalink / raw)
  To: netdev; +Cc: davem, eric.dumazet, jeffrey.t.kirsher

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.

---

Alexander Duyck (3):
      net: Add function for parsing the header length out of linear ethernet frames
      igb: use new eth_get_headlen interface
      ixgbe: use new eth_get_headlen interface


 drivers/net/ethernet/intel/igb/igb_main.c     |  109 -----------------------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  116 -------------------------
 include/linux/etherdevice.h                   |    1 
 include/linux/skbuff.h                        |    2 
 include/net/flow_keys.h                       |    2 
 net/core/flow_dissector.c                     |   46 +++++++---
 net/ethernet/eth.c                            |   27 ++++++
 7 files changed, 66 insertions(+), 237 deletions(-)

-- 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-05 23:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 18:09 [PATCH net-next 0/3] Drop get_headlen functions in favor of generic funciton Alexander Duyck
2014-09-05 18:10 ` [PATCH net-next 1/3] net: Add function for parsing the header length out of linear ethernet frames Alexander Duyck
2014-09-05 20:02   ` Alexei Starovoitov
2014-09-05 23:15     ` Alexander Duyck
2014-09-05 18:11 ` [PATCH net-next 2/3] igb: use new eth_get_headlen interface Alexander Duyck
2014-09-05 18:11 ` [PATCH net-next 3/3] ixgbe: " Alexander Duyck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).