netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net, igb, mlx4: Copy exact header to SKB linear buffer
@ 2014-05-08 12:50 Amir Vadai
  2014-05-08 12:50 ` [PATCH net-next 1/2] net: Expose header length compution function Amir Vadai
  2014-05-08 12:50 ` [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-05-08 12:50 UTC (permalink / raw)
  To: David S. Miller
  Cc: netdev, Amir Vadai, Ido Shamay, Jeff Kirsher, Jesse Brandeburg,
	Bruce Allan, Carolyn Wyborny, Don Skidmore, Greg Rose, Alex Duyck,
	John Ronciak, Mitch Williams, Yevgeny Petrilin, Or Gerlitz

Hi,

This patchset consist of 2 patches written by Ido:
First patch is making the header length computation function from igb and igbe
generlized at net/core/utils.c.
Second patch is using this helper function to copy the exact packet header to
the linear buffer instead of constant length.

Patches were applied on top of commit 79e0f1c: "ipv6: Need to sock_put on csum
error"

Thanks,
Amir

Ido Shamay (2):
  net: Expose header length compution function
  net/mlx4_en: Copy exact header to SKB linear part

 drivers/net/ethernet/intel/igb/igb_main.c     | 109 +-----------------------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 116 +-------------------------
 drivers/net/ethernet/mellanox/mlx4/en_rx.c    |  12 +--
 include/linux/net.h                           |   2 +
 net/core/utils.c                              | 104 +++++++++++++++++++++++
 5 files changed, 115 insertions(+), 228 deletions(-)

-- 
1.8.3.4

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

end of thread, other threads:[~2014-05-21 17:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 12:50 [PATCH net-next 0/2] net, igb, mlx4: Copy exact header to SKB linear buffer Amir Vadai
2014-05-08 12:50 ` [PATCH net-next 1/2] net: Expose header length compution function Amir Vadai
2014-05-08 15:18   ` Alexander Duyck
2014-05-09 20:24   ` David Miller
2014-05-10 17:12     ` Alexander Duyck
2014-05-10 17:49       ` Eric Dumazet
2014-05-10 21:53         ` Alexander Duyck
2014-05-19 21:01           ` Eric Dumazet
2014-05-21 15:03             ` Alexander Duyck
2014-05-21 15:51               ` Eric Dumazet
2014-05-21 16:45                 ` Alexander Duyck
2014-05-21 17:41                   ` Eric Dumazet
2014-05-08 12:50 ` [PATCH net-next 2/2] net/mlx4_en: Copy exact header to SKB linear part Amir Vadai

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