From patchwork Wed May 27 16:01:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Britstein X-Patchwork-Id: 1299018 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49XFvX5LVwz9sTK for ; Thu, 28 May 2020 02:02:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40C6A880C4; Wed, 27 May 2020 16:01:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rb-93KONdicd; Wed, 27 May 2020 16:01:54 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 2F73487FB0; Wed, 27 May 2020 16:01:53 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0F770C016F; Wed, 27 May 2020 16:01:53 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7FF2DC0890 for ; Wed, 27 May 2020 16:01:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5B49087A6E for ; Wed, 27 May 2020 16:01:46 +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 lsPIGepGA6kV for ; Wed, 27 May 2020 16:01:45 +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 hemlock.osuosl.org (Postfix) with ESMTP id 9A963878A8 for ; Wed, 27 May 2020 16:01:44 +0000 (UTC) Received: from Internal Mail-Server by MTLPINE1 (envelope-from elibr@mellanox.com) with ESMTPS (AES256-SHA encrypted); 27 May 2020 19:01:41 +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 04RG1fBP001095; Wed, 27 May 2020 19:01:41 +0300 From: Eli Britstein To: dev@openvswitch.org, Ilya Maximets Date: Wed, 27 May 2020 16:01:00 +0000 Message-Id: <20200527160112.28005-1-elibr@mellanox.com> X-Mailer: git-send-email 2.14.5 Cc: Eli Britstein , Ameer Mahagneh Subject: [ovs-dev] [PATCH V2 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 additional offloads - IPv6 and VXLAN encap, and enhanced logging to increase debugability. Patches #1-#8: Add support for offloads of IPv6 patterns, partial TCP/UDP ports, set IPv6 and encap actions (clone/output). Patch #9: Bug fix of partial offloads. Patches #10-#11: Enhance log prints for debugability. Patch #12: Fix Ethernet matching for type only. v2-v1: - Removed redundant out label. - Added a patch to fix dl_type match only. Travis: v1: https://travis-ci.org/github/elibritstein/OVS/builds/688413350 v2: https://travis-ci.org/github/elibritstein/OVS/builds/691375847 Eli Britstein (10): 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 partial TCP/UDP port matching netdev-offload-dpdk: Support offload of clone tnl_push/output actions netdev-offload-dpdk: Support tnl/push using vxlan encap attribute dpif-netdev: Don't use zero flow mark dpif-netdev: Add mega ufid in flow add log netdev-offload-dpdk: Add testpmd log commands netdev-offload-dpdk: Fix Ethernet matching for type only 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 | 26 +- lib/dpif-netlink.c | 23 +- lib/dpif.c | 21 +- lib/netdev-offload-dpdk.c | 649 +++++++++++++++++++++++++++++++++++------- lib/netdev-offload-tc.c | 3 +- lib/netdev-offload.c | 51 ++-- 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, 657 insertions(+), 188 deletions(-)