Netdev List
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Matan Barak <matanb@mellanox.com>,
	Amir Vadai <amirv@mellanox.com>,
	Saeed Mahameed <saeedm@mellanox.com>,
	Shani Michaeli <shanim@mellanox.com>,
	Ido Shamay <idos@mellanox.com>,
	Or Gerlitz <ogerlitz@mellanox.com>
Subject: [PATCH V3 net-next 0/2] mlx4: Add CHECKSUM_COMPLETE support
Date: Sun,  9 Nov 2014 13:51:51 +0200	[thread overview]
Message-ID: <1415533913-7012-1-git-send-email-ogerlitz@mellanox.com> (raw)

Hi Dave, 

These patches from Shani, Matan and myself add support for 
CHECKSUM_COMPLETE reporting on non TCP/UDP packets such as 
GRE and ICMP. I'd like to deeply thank Jerry Chu for his 
innovation and support in that effort.

Based on the feedback from Eric and Ido Shamay, in V2 we dropped 
the patch which removed the calls to napi_gro_frags() and added 
a patch which makes the RX code to go through that path 
regardless of the checksum status.

Or.

changes from V2:
 - make sure to decrement the checksum complete ring counter when we
   fail to come up with that status for a packet

changes from V0/V1:
 - added a patch to extend usage napi_gro_frags()
 - applied feedback from David Laight to optimally use checksum helpers


Shani Michaeli (2):
  net/mlx4_en: Extend usage of napi_gro_frags
  net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE

 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |    2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c  |    5 +
 drivers/net/ethernet/mellanox/mlx4/en_port.c    |    2 +
 drivers/net/ethernet/mellanox/mlx4/en_rx.c      |  228 +++++++++++++++++------
 drivers/net/ethernet/mellanox/mlx4/main.c       |    9 +
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h    |    5 +-
 include/linux/mlx4/device.h                     |    1 +
 7 files changed, 193 insertions(+), 59 deletions(-)

             reply	other threads:[~2014-11-09 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-09 11:51 Or Gerlitz [this message]
2014-11-09 11:51 ` [PATCH V3 net-next 1/2] net/mlx4_en: Extend usage of napi_gro_frags Or Gerlitz
2014-11-09 11:51 ` [PATCH V3 net-next 2/2] net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE Or Gerlitz
2014-11-11 18:23 ` [PATCH V3 net-next 0/2] mlx4: Add CHECKSUM_COMPLETE support David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415533913-7012-1-git-send-email-ogerlitz@mellanox.com \
    --to=ogerlitz@mellanox.com \
    --cc=amirv@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=idos@mellanox.com \
    --cc=matanb@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@mellanox.com \
    --cc=shanim@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox