From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753142Ab2ITBqO (ORCPT ); Wed, 19 Sep 2012 21:46:14 -0400 Received: from noserose.net ([66.220.18.76]:41149 "HELO noserose.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752976Ab2ITBqK (ORCPT ); Wed, 19 Sep 2012 21:46:10 -0400 Date: Wed, 19 Sep 2012 18:46:07 -0700 Message-Id: From: Ed Cashin Subject: [PATCH 0/2] do not disable sg when packet requires no checksum 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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