From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 5EE261B66F for ; Sun, 24 Dec 2017 11:47:03 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 06E6DBC0053 for ; Sun, 24 Dec 2017 10:47:02 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Sun, 24 Dec 2017 02:46:59 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1044.25 via Frontend Transport; Sun, 24 Dec 2017 02:46:59 -0800 Received: from uklogin.uk.solarflarecom.com (uklogin.uk.solarflarecom.com [10.17.10.10]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id vBOAkw27014760 for ; Sun, 24 Dec 2017 10:46:58 GMT Received: from uklogin.uk.solarflarecom.com (localhost.localdomain [127.0.0.1]) by uklogin.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id vBOAkwhD013494 for ; Sun, 24 Dec 2017 10:46:58 GMT From: Andrew Rybchenko To: Date: Sun, 24 Dec 2017 10:46:30 +0000 Message-ID: <1514112404-13398-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 Content-Type: text/plain X-MDID: 1514112422-eTztflBOA9-3 Subject: [dpdk-dev] [PATCH 00/14] net/sfc: support NVGRE, VXLAN and GENEVE tunnels X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Dec 2017 10:47:04 -0000 MC reboot handling is required for tunnels support since tunnel UDP ports reconfiguration triggers MC reboot. Support tunnel packet types classification and inner/outer Rx checksum offload in EF10 native Rx datapath. Support for inner checksum offload on transmit is datapath-independent since it just requires to enable the offload. checkpatches.sh generates errors/warnings for base driver patches because of coding standard difference. Warning about positive errno is expected since positive error codes are used inside the driver (since base driver uses positive error code) and conversion to negative is done in net/sfc ethdev interface implementation. Andrew Rybchenko (13): net/sfc: fix label name to be consistent net/sfc: do not hold management event queue lock while MCDI net/sfc: handle MC reboot event net/sfc: retry port start to handle MC reboot in the middle net/sfc/base: control RxQ scatter using flag instead of type net/sfc/base: add function to create packed stream RxQ net/sfc/base: allow to request inner classes for Rx packets net/sfc: support UDP tunnel ports configuration net/sfc: fix incorrect bitwise ORing of L3/L4 packet types net/sfc: support VXLAN and NVGRE packet types classification net/sfc: correct Rx checksum offloads for tunnel packets net/sfc: support inner checksum offload on transmit doc: add net/sfc tunnels support to release features Ivan Malov (1): net/sfc/base: add API to control UDP tunnel ports doc/guides/nics/features/sfc_efx.ini | 2 + doc/guides/nics/sfc_efx.rst | 24 ++ doc/guides/rel_notes/release_18_02.rst | 8 + drivers/net/sfc/Makefile | 1 + drivers/net/sfc/base/ef10_ev.c | 3 +- drivers/net/sfc/base/ef10_impl.h | 2 + drivers/net/sfc/base/ef10_nic.c | 10 +- drivers/net/sfc/base/ef10_rx.c | 71 +++-- drivers/net/sfc/base/efx.h | 96 ++++++- drivers/net/sfc/base/efx_check.h | 7 + drivers/net/sfc/base/efx_impl.h | 30 +- drivers/net/sfc/base/efx_mcdi.h | 4 + drivers/net/sfc/base/efx_rx.c | 74 ++++- drivers/net/sfc/base/efx_tunnel.c | 487 +++++++++++++++++++++++++++++++++ drivers/net/sfc/efsys.h | 2 + drivers/net/sfc/sfc.c | 145 ++++++++-- drivers/net/sfc/sfc.h | 26 ++ drivers/net/sfc/sfc_dp_rx.h | 4 +- drivers/net/sfc/sfc_ef10_rx.c | 126 +++++++-- drivers/net/sfc/sfc_ethdev.c | 133 ++++++++- drivers/net/sfc/sfc_ev.c | 27 +- drivers/net/sfc/sfc_intr.c | 5 +- drivers/net/sfc/sfc_mcdi.c | 2 +- drivers/net/sfc/sfc_rx.c | 15 +- drivers/net/sfc/sfc_rx.h | 1 + drivers/net/sfc/sfc_tx.c | 8 + 26 files changed, 1208 insertions(+), 105 deletions(-) create mode 100644 drivers/net/sfc/base/efx_tunnel.c -- 2.7.4