All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Cashin <ecashin@coraid.com>
To: davem@davemloft.net
Cc: ecashin@coraid.com, akpm@linux-foundation.org,
	bhutchings@solarflare.com, jesse@nicira.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] do not disable sg when packet requires no checksum
Date: Wed, 19 Sep 2012 18:46:07 -0700	[thread overview]
Message-ID: <cover.1348105262.git.ecashin@coraid.com> (raw)

This two-part patchset replaces an earlier net-only patch that
added an explicit check for the AoE protocol to harmonize_features
in net/core/dev.c.

Following the suggestions of Ben Hutchings, this patchset makes
the decision in the network layer protocol agnostic instead of
using ETH_P_AOE as a special case.  It relies on fresh skbs being
CHECKSUM_NONE but makes that explicit with an assertion.

Ed L. Cashin (2):
  aoe: assert AoE packets marked as requiring no checksum
  net: do not disable sg for packets requiring no checksum

 drivers/block/aoe/aoecmd.c |    1 +
 net/core/dev.c             |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

-- 
1.7.2.5


             reply	other threads:[~2012-09-20  1:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20  1:46 Ed Cashin [this message]
2012-09-20  1:46 ` [PATCH 1/2] aoe: assert AoE packets marked as requiring no checksum Ed Cashin
2012-09-20  1:49 ` [PATCH 2/2] net: do not disable sg for packets " Ed Cashin
2012-09-21  2:32 ` [PATCH 0/2] do not disable sg when packet requires " David Miller
  -- strict thread matches above, loose matches on Subject: below --
2012-09-19  0:20 [PATCH] net: do not disable sg for AoE Ed Cashin
2012-09-19 19:55 ` Ben Hutchings
2012-09-20  1:16   ` [PATCH 0/2] do not disable sg when packet requires no checksum Ed Cashin

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=cover.1348105262.git.ecashin@coraid.com \
    --to=ecashin@coraid.com \
    --cc=akpm@linux-foundation.org \
    --cc=bhutchings@solarflare.com \
    --cc=davem@davemloft.net \
    --cc=jesse@nicira.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.