From patchwork Fri Jun 30 02:46:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Malov X-Patchwork-Id: 1801644 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qsfpr3W2Yz20ZC for ; Fri, 30 Jun 2023 12:46:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8974D41EC3; Fri, 30 Jun 2023 02:46:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 8974D41EC3 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xghi7UHehVdj; Fri, 30 Jun 2023 02:46:40 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 5232A41E66; Fri, 30 Jun 2023 02:46:39 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5232A41E66 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 14C33C0072; Fri, 30 Jun 2023 02:46:39 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5B20EC0037 for ; Fri, 30 Jun 2023 02:46:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 220AA61244 for ; Fri, 30 Jun 2023 02:46:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 220AA61244 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WfdyukwmU2x7 for ; Fri, 30 Jun 2023 02:46:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 71AE961233 Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by smtp3.osuosl.org (Postfix) with ESMTPS id 71AE961233 for ; Fri, 30 Jun 2023 02:46:37 +0000 (UTC) Received: from localhost.localdomain (unknown [78.109.69.79]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id E3C3BE11CC; Fri, 30 Jun 2023 06:46:33 +0400 (+04) To: ovs-dev@openvswitch.org Date: Fri, 30 Jun 2023 06:46:28 +0400 Message-Id: <20230630024630.6464-1-ivan.malov@arknetworks.am> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Cc: Eli Britstein , Simon Horman , David Marchand , Ori Kam , Ilya Maximets Subject: [ovs-dev] [PATCH v7 0/2] DPDK: align flow offloads with 22.11 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: , X-Patchwork-Original-From: Ivan Malov via dev From: Ivan Malov Reply-To: Ivan Malov Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Address two problems using two corresponding features in DPDK, which have been around for a year and are now stable: 1) The need to make sure that metadata generated by flow rule execution be delivered from NIC to application; 2) Replacing PORT_ID action with REPRESENTED_PORT; --- v2: amendments to care about proxy detach and port ID logging v3: a minor adjustment in the cover letter subject line v4: edits to apply review notes and align with 22.11 v5: drop the transfer proxy patch; fix CI in [1/2] v6: another attempt to fix re-configure in [1/2] v7: address review notes from Simon and Ilya Ivan Malov (2): netdev-dpdk: negotiate delivery of per-packet Rx metadata netdev-offload-dpdk: replace action PORT_ID with REPRESENTED_PORT lib/netdev-dpdk.c | 51 +++++++++++++++++++++++++++++++++++++++ lib/netdev-offload-dpdk.c | 30 +++++++++++++---------- 2 files changed, 68 insertions(+), 13 deletions(-)