From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9235BA0550; Wed, 7 Sep 2022 07:11:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5DA36400D6; Wed, 7 Sep 2022 07:11:22 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id DE4ED40042 for ; Wed, 7 Sep 2022 07:11:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662527481; x=1694063481; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uSmQxvBXNVT6XldYM3lwbaXe9s5WieBMcMiljK2vXVA=; b=CxoWGVFh9Nw76grplR4bN4rKnLJpENlvUVjN3hKpxKq8ih15bDJVYceG 8AU0ml+hJOtkPKLPVToNOhgRr+xid4YhQ1u+UZWqG0/Pge7FgbZdKgNYv BdY74JtkRjlS3BBm2RJv3NBvfKzQWSMe6pJKTl0YSjNNjiCDcWE4rK1X5 4441xiVJa/WZdAvcTzqBBFDIUqYP1K63psLFlduPLwr9h2LR77Y7dSsqE jKScswrae7oPWVAoC8htCYnE4sehtPWPV5aeDvvOPhU0X1opEY/h4u9S4 HkuLqFBc41RWG9NpR9s73fm6PFvIeRXR8WCYI7XaV9VpgDyeRW8ekeAHr w==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="283779059" X-IronPort-AV: E=Sophos;i="5.93,295,1654585200"; d="scan'208";a="283779059" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 22:11:19 -0700 X-IronPort-AV: E=Sophos;i="5.93,295,1654585200"; d="scan'208";a="676012972" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.187]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 22:11:17 -0700 From: Jie Wang To: dev@dpdk.org Cc: qiming.yang@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, stevex.yang@intel.com, Jie Wang Subject: [PATCH v5 0/5] support flow subscription Date: Wed, 7 Sep 2022 13:10:35 +0800 Message-Id: <20220907051040.119588-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220809062122.1203281-1-jie1x.wang@intel.com> References: <20220809062122.1203281-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add support AVF can be able to subscribe a flow from PF. -- v4: * replace flow action represented_port with port_representor. * update commit log and rebase. v3: * fix eth layer inputset. * rebase. v2: * split v1 patch 2/2 to 4 small patches. * remove rule action RTE_FLOW_ACTION_TYPE_VF and add RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT. Jie Wang (5): common/iavf: support flow subscription net/iavf: add flow subscription to AVF net/iavf: support flow subscrption pattern net/iavf: support flow subscription rule net/iavf: support priority of flow rule doc/guides/rel_notes/release_22_11.rst | 4 + drivers/common/iavf/virtchnl.h | 104 +++- drivers/net/iavf/iavf.h | 13 + drivers/net/iavf/iavf_fdir.c | 4 + drivers/net/iavf/iavf_fsub.c | 745 +++++++++++++++++++++++++ drivers/net/iavf/iavf_generic_flow.c | 40 +- drivers/net/iavf/iavf_generic_flow.h | 2 + drivers/net/iavf/iavf_hash.c | 5 + drivers/net/iavf/iavf_ipsec_crypto.c | 16 +- drivers/net/iavf/iavf_vchnl.c | 133 +++++ drivers/net/iavf/meson.build | 1 + 11 files changed, 1046 insertions(+), 21 deletions(-) create mode 100644 drivers/net/iavf/iavf_fsub.c -- 2.25.1