From patchwork Tue Jul 7 11:53:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Britstein X-Patchwork-Id: 1324292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B1LSq67v6z9sRK for ; Tue, 7 Jul 2020 21:54:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F0EE589A6C; Tue, 7 Jul 2020 11:54:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7VoDZQ5lyS1y; Tue, 7 Jul 2020 11:54:16 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 7AE8389A4F; Tue, 7 Jul 2020 11:54:15 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 63F90C08A5; Tue, 7 Jul 2020 11:54:15 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 159FCC07FF for ; Tue, 7 Jul 2020 11:54:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0350E27DBF for ; Tue, 7 Jul 2020 11:54:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pYjI8VI4vKxD for ; Tue, 7 Jul 2020 11:54:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by silver.osuosl.org (Postfix) with ESMTP id 7F21F25B0B for ; Tue, 7 Jul 2020 11:54:11 +0000 (UTC) Received: from Internal Mail-Server by MTLPINE1 (envelope-from elibr@mellanox.com) with SMTP; 7 Jul 2020 14:54:08 +0300 Received: from dev-r-vrt-215.mtr.labs.mlnx. (dev-r-vrt-215.mtr.labs.mlnx [10.212.215.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 067Bs8km006179; Tue, 7 Jul 2020 14:54:08 +0300 From: Eli Britstein To: dev@openvswitch.org, Ilya Maximets Date: Tue, 7 Jul 2020 11:53:53 +0000 Message-Id: <20200707115405.6756-1-elibr@mellanox.com> X-Mailer: git-send-email 2.14.5 Cc: Eli Britstein , Ameer Mahagneh Subject: [ovs-dev] [PATCH V5 00/12] netdev datapath offload: Support IPv6 and VXLAN encap X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" This patch set includes enhanced logging to increase debugability, bug fixes and additional offloads - IPv6 and VXLAN encap. Patches #1-#2: Enhance log prints for debugability. Patches #3-#4: Bug fixes for partial offloads and Ethernet matching. Patches #5-#12: Add support for offloads of IPv6 patterns, partial TCP/UDP ports, set IPv6 and encap actions (clone/output). v2-v1: - Removed redundant out label. - Added a patch to fix dl_type match only. v3-v2: - Rebased, and more elaboration in #7 commit message. v4-v3: - Rebased, changed order of commits. - Testpmd format replaces pervious format. - Some comments from Ilya/Harsha addressed. v5-v4: - Removed redundant trailing '\n' from log messages. - Removed 'testpmd' keyword. - 'DUMP_TESTPMD_ITEM' -> 'DUMP_PATTERN_ITEM'. - Removed *_mask1 variables. - Changed logging to dynamic string for tunnel dumps. Travis: v1: https://travis-ci.org/github/elibritstein/OVS/builds/688413350 v2: https://travis-ci.org/github/elibritstein/OVS/builds/691375847 v3: https://travis-ci.org/github/elibritstein/OVS/builds/700534550 v4: https://travis-ci.org/github/elibritstein/OVS/builds/703556030 v5: https://travis-ci.org/github/elibritstein/OVS/builds/705679636 Eli Britstein (10): netdev-offload-dpdk: Log testpmd format for flow create/destroy dpif-netdev: Add mega ufid in flow add/del log dpif-netdev: Don't use zero flow mark netdev-offload-dpdk: Fix Ethernet matching for type only netdev-offload-dpdk: Support partial TCP/UDP port matching netdev-offload-dpdk: Remove pre-validate of patterns function netdev-offload-dpdk: Add IPv6 pattern matching netdev-offload-dpdk: Support offload of set IPv6 actions netdev-offload-dpdk: Support offload of clone tnl_push/output actions netdev-offload-dpdk: Support tnl/push using vxlan encap attribute Ilya Maximets (2): netdev: Allow storing dpif type into netdev structure. netdev-offload: Use dpif type instead of class. Documentation/howto/dpdk.rst | 4 +- NEWS | 3 + lib/dpif-netdev.c | 36 +- lib/dpif-netlink.c | 23 +- lib/dpif.c | 21 +- lib/netdev-offload-dpdk.c | 882 ++++++++++++++++++++++++++---------------- lib/netdev-offload-tc.c | 3 +- lib/netdev-offload.c | 52 ++- lib/netdev-offload.h | 16 +- lib/netdev-provider.h | 3 +- lib/netdev.c | 16 + lib/netdev.h | 2 + ofproto/ofproto-dpif-upcall.c | 5 +- tests/dpif-netdev.at | 20 +- tests/ofproto-macros.at | 3 +- 15 files changed, 679 insertions(+), 410 deletions(-)