[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140905180642.730.22292.stgit@ahduyck-bv4.jf.intel.com>
Date: Fri, 05 Sep 2014 14:09:45 -0400
From: Alexander Duyck <alexander.h.duyck@...el.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, eric.dumazet@...il.com,
jeffrey.t.kirsher@...el.com
Subject: [PATCH net-next 0/3] Drop get_headlen functions in favor of generic
funciton
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(-)
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists