From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ed Cashin Subject: [PATCH 0/2] do not disable sg when packet requires no checksum Date: Wed, 19 Sep 2012 18:46:07 -0700 Message-ID: Cc: ecashin@coraid.com, akpm@linux-foundation.org, bhutchings@solarflare.com, jesse@nicira.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: davem@davemloft.net Return-path: Received: from noserose.net ([66.220.18.76]:36928 "HELO noserose.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752979Ab2ITBqK (ORCPT ); Wed, 19 Sep 2012 21:46:10 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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