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 9CA52A00C2; Wed, 31 Aug 2022 12:56:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 431C940F17; Wed, 31 Aug 2022 12:56:43 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2041.outbound.protection.outlook.com [40.107.237.41]) by mails.dpdk.org (Postfix) with ESMTP id A3AA740395 for ; Wed, 31 Aug 2022 12:56:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CzosQJrpcIEc1ldgdQK5iqexnufHwvi+jstBRQfoWtjPK9AXHxDnX9DhIqravyZnhn0Ei9O+pMut/FuTRE97DuXkv/8u750efUfkI7/e3+Zts31CcIipoEDlp6xeQYhXDbzzQpZUrDAdO+fc3q8dqlxEBL/RPXhhd1kkrbUUSMyYqhoo8mKhSU6l2dsRiEt56NVxD/FLoP5BCNekQn0En1cyBnjQEwIFsBYsOV2HC7L0LGOkXc0Xz2rxgV6TwKmkmcOZnStPNSOgg5tFVxHn07vxyTR9vx8SOO6ZMJ3vDeC3rLMyDn1FH8Ml9M6/RrUxQ5fRLMiUTDgTLTsUszy0GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=157TrgleNDTSF+swWTtZLdWF1SL5k3zXiK7Gih1f1pY=; b=IZfFNQqhauS+1NtbdA8sCG/C9AI8t90JuCz92n6klZo3y27pDap/HItqaYi1sUT1tFqbP73C39VRfaQ3hrqnamdqwmG3m2azZdAzfk4hHBwYI6XQ5NdBjOxzkWKXr5Py9MAw80A/KOj4Juyq0AoY2qxZHPEHFjB63w6O7A9soRdV4sH5+b9ovyT5OyzZ7jWEmSeDfurA432Lo1MN8EDeVGxOUsNwTI2qsZFD2ZYGsULMDTJfbPl6A/idCuxK67+OTOlQWwUHv6qyyaD8XYjZ0McheuQ4JGZvq/Kfenmb/bu/zSrp3L5GwJ/gd58ZGlnYZuIWsNV/z1CJJyUVltQv7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=intel.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=157TrgleNDTSF+swWTtZLdWF1SL5k3zXiK7Gih1f1pY=; b=sFVPpU1VBYNzGGEpYKyEfGGXUiFLxRZNdKDLfVCqNrp8JsDd9IYUnspTqngeo9pyzRi6GOEWum8DCL6d9ngwFo/xC6LOLfBgpeH3wzcoY38f+CKOJUFBEbGJ52DeaCEp/LjOmAb8ex6Ff5THkccL5F0M4LrwjgYnmH5HHms5rfE= Received: from DM6PR10CA0003.namprd10.prod.outlook.com (2603:10b6:5:60::16) by MW4PR02MB7427.namprd02.prod.outlook.com (2603:10b6:303:72::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Wed, 31 Aug 2022 10:56:38 +0000 Received: from DM3NAM02FT063.eop-nam02.prod.protection.outlook.com (2603:10b6:5:60:cafe::f2) by DM6PR10CA0003.outlook.office365.com (2603:10b6:5:60::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10 via Frontend Transport; Wed, 31 Aug 2022 10:56:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch02.xlnx.xilinx.com; pr=C Received: from xir-pvapexch02.xlnx.xilinx.com (149.199.80.198) by DM3NAM02FT063.mail.protection.outlook.com (10.13.5.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5588.10 via Frontend Transport; Wed, 31 Aug 2022 10:56:38 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 31 Aug 2022 11:56:37 +0100 Received: from smtp.xilinx.com (172.21.105.198) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Wed, 31 Aug 2022 11:56:37 +0100 Envelope-to: jie1x.wang@intel.com, dev@dpdk.org, qiming.yang@intel.com, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, stevex.yang@intel.com Received: from [10.71.194.74] (port=60955) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1oTLOe-00081e-Ko; Wed, 31 Aug 2022 11:56:37 +0100 Message-ID: <99638187-2ad7-61f9-5db1-4c5b54e33a07@xilinx.com> Date: Wed, 31 Aug 2022 11:56:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v3 0/5] support flow subscription Content-Language: en-US To: Jie Wang , CC: , , , , References: <20220809062122.1203281-1-jie1x.wang@intel.com> <20220830180514.693175-1-jie1x.wang@intel.com> From: Ferruh Yigit In-Reply-To: <20220830180514.693175-1-jie1x.wang@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 932a05c0-0ab7-4635-ddad-08da8b3f7aa7 X-MS-TrafficTypeDiagnostic: MW4PR02MB7427:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MLlcSLWjB2UMuvwx6i9iEMDp6i43os5iZoAD/e1iNbppk/kvsafT79oPb1g0r1n2I2SAHQ5NahTN4lEy3wd5nJTr8LMY4ov7+rYWRXf8giY7shb6ng5GKNMaoaSMGWlXekmnB0Usup6aCi/+F45mmF0tygK8Y1oq9ZxsT3WCSsTRZHf5BfQP2KEEQHRYqgWfGLorjDnVxAaZY1bCLc3qsQfHTrxBguNfmQFuXeR5nO6O70Hc3CE5iEyjZsYM5KwCQMSC2/+rcbSX3d6+gLqsUe3J0WXVK+xx3J3ywoaxcBYb51cT6eKq1QytGZydd3wPpaJLRpkk0HsR8Eiy/w4WL9yK5O9KjEFeClsXhjdce6iTNnXSLYCYGQhHmDfLIkaLOSwvtxIn9me8tVm26YFcX1MswIIU4tqydc/JAHG+TV0wz6vwEkkLOFnDRn5o0zFvDCN5LWsZpwzmCsdoUlp2VE8PFSLMTcE17VfAri8bihrK/VhwURPgALPcfSK+6ci+/0tjKWTldz1vGFYH2iHDXzYJgRF0uYHd7RRfvpGkcNT106+gRdPTRdKeoZe22LfroiAeUKY5EnZpWpdPMV9m0hTQDFJyOLNMCs8+VAaD5MY015fHizz7/P9YenhkodnZpXnFvDqBClfrItGf9ST9W9c3C/8FPrM2gtjP17xkkxhHS/v5dVjT1NGCTe9gXMfZlrmrY2XmkMotwltF997bi5Vo07v8nLtM3ElD9SSJC0LsxXjmJW4Ltp9M8sy/DWqyL6rdyFNWEpnhoV9bcrfiLs0NB3qIC8nn+o0zNDHb/WNgYv/poaNkA/zJvxV0p1F4dVMHY73a9UpFqGTP7XEpbg== X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch02.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230016)(4636009)(396003)(39860400002)(376002)(346002)(136003)(40470700004)(36840700001)(46966006)(4326008)(26005)(8676002)(9786002)(53546011)(31696002)(8936002)(356005)(7636003)(478600001)(82310400005)(82740400003)(40480700001)(40460700003)(70586007)(41300700001)(110136005)(54906003)(316002)(83380400001)(186003)(426003)(47076005)(336012)(31686004)(36756003)(2906002)(2616005)(44832011)(5660300002)(70206006)(36860700001)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2022 10:56:38.1025 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 932a05c0-0ab7-4635-ddad-08da8b3f7aa7 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT063.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR02MB7427 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 On 8/30/2022 7:05 PM, Jie Wang wrote: > Add support AVF can be able to subscribe a flow from PF. > Hi Jie, Can you please provide more details, what does subscribing a flow from PF mean? Thanks, ferruh > -- > 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 >