netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Helper to find length of headers in an ethernet frame
@ 2014-07-28 10:14 Amir Vadai
  2014-07-28 10:14 ` [PATCH net-next 1/2] net: Header length compution function Amir Vadai
  2014-07-28 10:14 ` [PATCH net-next 2/2] net/mlx4_en: Copy exact header to SKB linear part Amir Vadai
  0 siblings, 2 replies; 13+ messages in thread
From: Amir Vadai @ 2014-07-28 10:14 UTC (permalink / raw)
  To: David S. Miller
  Cc: Alexander Duyck, netdev, Amir Vadai, Or Gerlitz, Yevgeny Petrilin,
	Ido Shamay

Hi,

This patchset is based on the patch suggested by Eric Dumazet to calculate
header length of Ethernet headers using flow_dissector [1].
We have tested it in Mellanox lab, non GRO traffic shows some improvement in
bandwidth when using the patch, and anyway, the right way is to copy the exact
header and not just an arbitrary number of bytes.
Also  tested using a built-in function (the orignal patch [2]). Eric's solution
gives the same numbers (even a bit better).

[1] - http://patchwork.ozlabs.org/patch/350413/
[2] - http://patchwork.ozlabs.org/patch/347031/

CC: Alexander Duyck <alexander.h.duyck@intel.com>

Amir Vadai (1):
  net/mlx4_en: Copy exact header to SKB linear part

Eric Dumazet (1):
  net: Header length compution function

 drivers/net/ethernet/mellanox/mlx4/en_rx.c | 13 ++++++++-----
 include/linux/skbuff.h                     |  1 +
 net/core/flow_dissector.c                  | 24 ++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 5 deletions(-)

-- 
1.8.3.4

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

end of thread, other threads:[~2014-08-25 22:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 10:14 [PATCH net-next 0/2] Helper to find length of headers in an ethernet frame Amir Vadai
2014-07-28 10:14 ` [PATCH net-next 1/2] net: Header length compution function Amir Vadai
2014-07-30  4:58   ` David Miller
2014-07-30  7:00     ` Eric Dumazet
2014-07-30 14:26       ` Alexander Duyck
2014-07-31  1:39         ` David Miller
2014-07-31 15:34           ` Alexander Duyck
2014-08-23 19:19             ` David Miller
2014-08-25 22:21               ` Alexander Duyck
2014-08-25 22:32                 ` David Miller
2014-07-31  1:34       ` David Miller
2014-07-28 10:14 ` [PATCH net-next 2/2] net/mlx4_en: Copy exact header to SKB linear part Amir Vadai
2014-07-28 10:56   ` Sergei Shtylyov

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).