Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757418Ab2KICKd (ORCPT ); Thu, 8 Nov 2012 21:10:33 -0500 Received: from mga02.intel.com ([134.134.136.20]:36750 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753523Ab2KICKb (ORCPT ); Thu, 8 Nov 2012 21:10:31 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,741,1344236400"; d="scan'208";a="217073490" From: Joseph Gasparakis To: davem@davemloft.net, shemminger@vyatta.com, chrisw@sous-sol.org Cc: Joseph Gasparakis , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/3 ] tunneling: Add support for hardware-offloaded encapsulation Date: Thu, 8 Nov 2012 18:18:00 -0800 Message-Id: <1352427483-4380-1-git-send-email-joseph.gasparakis@intel.com> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 21 The series contains updates to add in the NIC Rx and Tx checksumming support for encapsulated packets. The sk_buff needs to somehow have information of the inner packet, and adding three fields for the inner mac, network and transport headers was the prefered approach. Not adding these fields would mean that the drivers would need to parse the sk_buff data in hot-path, having a negative impact in the performance. Adding in sk_buff a pointer to the skbuff of the inner packet made sense, but would be a complicated change as assumptions needed to be made with regards to helper functions such as skb_clone() skb_copy(). Also code for the existing encapsulation protocols (such as VXLAN and IP GRE) had to be reworked, so the decision was to have the simple approach of adding these three fields. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/