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 5532DA0550; Wed, 7 Sep 2022 07:28:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46B90400D6; Wed, 7 Sep 2022 07:28:43 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 532A440042 for ; Wed, 7 Sep 2022 07:28:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662528521; x=1694064521; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=xh9m5QJS6F6n++buySl5Gr7+jTWdoundSrBwofwoBms=; b=Dst5QHwCxccCLEiI+MAqdywyWiM+KW81nL/xAzmZnktCjFSQnKLliJHf FP++7txORXchu51Z2FPHU6PjGQgYF9PKbxs4F/Yq1+TT7xwSA18cVh4Fl K8q6K/K7QKa6t1bHMu16ilL+9d7Ic54o3sok26jiZgZHk6xyK8Px6VXVG Fk6iHVYmIjFcBvZeRDaFmUlylIU47+8vnjcCObhT0b/vogD7zP3DcOjh+ dt55sUT4eBUEkrL9ZwXYsJL/ZkFTkE9/pXlYmhIPHKbLaKsEb29NS0vC6 XHeQMTPJdJkhYSr+yoQAyWSNg3xVnbL25KGERj3Un1Z/mGOtU1IpSCWBL Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="358499923" X-IronPort-AV: E=Sophos;i="5.93,295,1654585200"; d="scan'208";a="358499923" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 22:28:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,295,1654585200"; d="scan'208";a="647504120" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 06 Sep 2022 22:28:40 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Sep 2022 22:28:40 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Sep 2022 22:28:39 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 6 Sep 2022 22:28:39 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.44) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 6 Sep 2022 22:28:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIlSIvnatOeN/m7sUxHw+QHpEebl0PfkqWxV3Ja4u5jmFQd4Ik+m87YAmV7ECT4fwDqT8ajhwShYOiaiCaA3fc8WZUZ5i9hQibx0nXxYKCt0JHxktIbDGhNl5/beQi2CesFxny7WMzvcinquOzPRI1psix4LJNwXSbrSpphwvPjmdUZBZ1LthjnZvCCe166fbo5xCimuqRNS9JA/Woe/uaGkPRfjPpTFytM29A43AktdeqOy8bFtWWcdK6T+gzAlaSk1Mh4Lsw9bDBNx9VJaXB7FeRQDME/eW/c5odKGo8dTLhHKhhK+ILwa5PU7CWhy5Q4HQE0H01qEGF9jzumG+w== 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=v93NnQj1pTQh4Gx2maW/E7/VQVMTOJT7d8YVpCkUFwo=; b=fLPPd+pztLwJq39nNlF+L3Kn1mo7MiuCGP2TMcSQQQ4vRiruIqUL1EVnc+7MU2Rj/4IIZqVt/P5NjhFd4M+jsZ9kfWinJS3f4B3rKBoQEj5ERWc8/BMkefC+KVe8Zg8jgJrHQ2q+PcllmbHxfyqd2/NvdIEzq1n30+bj7JPU0RIDxsw75r/Zufe1Dt8UUToMvQFLYzjIMbFRDTkOwz9zP6wCNZ1jK7AQPkQo8NQhmCGpnJeFGtp1PNO3GMpmfDxhgaxQFUr9MzxCG8zBFi3ijNDr5LA6rJLCavwXYUmKt1hsbOq0wgbkXbVQYmkkUHxhCwGwXHDJqs9K/iiJi+d/Qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN0PR11MB5986.namprd11.prod.outlook.com (2603:10b6:208:371::22) by SN7PR11MB6678.namprd11.prod.outlook.com (2603:10b6:806:26a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.15; Wed, 7 Sep 2022 05:28:32 +0000 Received: from MN0PR11MB5986.namprd11.prod.outlook.com ([fe80::907d:95fc:bf85:13ff]) by MN0PR11MB5986.namprd11.prod.outlook.com ([fe80::907d:95fc:bf85:13ff%9]) with mapi id 15.20.5588.015; Wed, 7 Sep 2022 05:28:32 +0000 From: "Zhang, Qi Z" To: "Wang, Jie1X" , "dev@dpdk.org" CC: "Yang, Qiming" , "Wu, Jingjing" , "Xing, Beilei" , "Yang, SteveX" Subject: RE: [PATCH v5 0/5] support flow subscription Thread-Topic: [PATCH v5 0/5] support flow subscription Thread-Index: AQHYwnhJ5RDRsG5kLEGGkUvN/IXwtq3TcDCg Date: Wed, 7 Sep 2022 05:28:32 +0000 Message-ID: References: <20220809062122.1203281-1-jie1x.wang@intel.com> <20220907051040.119588-1-jie1x.wang@intel.com> In-Reply-To: <20220907051040.119588-1-jie1x.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eb864ed5-5ce1-41d6-b6f8-08da9091ce04 x-ms-traffictypediagnostic: SN7PR11MB6678:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iC7+bzF5rveP6n8xxy6+RE4GspVQhlxJqx0J3UvjWapcKPDg8nXSUhkzFUx6yvE7DGG65HqgGKTWgqKnmk7+oNNL5FLIw1I9lIl7X+RU25u6Sih8kqV4Yh2RX9LWfwc2kfITYqd2lhg46CRUIwINntNVhF5BtVRBHcoOQWz/ec0vOVQQKnuecWjBCzXKfpXrW7e2l3fY7mNKB6rAKklx6h+/+LAHsbSYSh3iBGScmoJbhmHC96s3CU87Jiu+ceiAsV6Nh9f/g4xVrJWbG4eD69dbL8wsqoBctXf4Kttdv4H58VCNziqN1AT8RaIOXTFvxeesg6C35N+VJDj+e9SGBUVNOk9nJp8ZqVzplPCiIiSqGChRDk1JFtdV3UJd5fSVuq5AFe8HDnCEO8ObXG0etX6OsiSTmY1tfVDHtmmoHS4Ws+8lcSTnc+XbcyUspIEjAp7K6k3U/yHU5P5SWm/48yh00My8ug0SbfoPg9xsdTOUrzs6MtHbp7dx265vI7uu/MzMBKv6hBUV5JNhDUWxnEuwlLb9cHq/t20iEzdSbkKBVCwt9fSmYdxk19T27fqFRvK4mbpmubuzz/ibbqxw6b5rawx1yCGEwEUZptHTPdlqSiyKV6PAoQlcDd+ocfCwc17lXcFnZH7GF/z40QM2KeSLqI25Px1guTMrC5EAoBpVHMHfjgFcDEb5rxPxebIU1EQOzVW8IMykgm7omxYHk+mOwDSjH7qcmhNGZeDHY9LeqR+YNpymy0c2yQsr4zOCBX2vvoDudsKENIbklMuz+A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR11MB5986.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(39860400002)(376002)(366004)(396003)(136003)(9686003)(83380400001)(86362001)(38100700002)(186003)(38070700005)(82960400001)(66476007)(4326008)(66946007)(66446008)(8676002)(26005)(66556008)(33656002)(76116006)(122000001)(54906003)(64756008)(110136005)(2906002)(316002)(52536014)(55016003)(71200400001)(5660300002)(107886003)(8936002)(41300700001)(6506007)(7696005)(478600001)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mws8tJcCf8VAsvAQszvSDzt0LgMuNA3WbQllltGP5zCofE5ZE/R+yUuFatIw?= =?us-ascii?Q?Gr1Z8LFF6oBXwx2OHKWBCUTOT8YMJyJDBZSwvDgVQXMztoS0BswW2Stl16DB?= =?us-ascii?Q?Id8I4ZjqPWI0bKxiGiyQmHe36iJfK8QrKCwOb8xYjPa4hzrpX4vl17o5VJWM?= =?us-ascii?Q?KZhEe2Nr1OH/APeE7fxMv+OBlDdD662ZuQP5QWGtFSAE+TjMsJD7qwzMNmLM?= =?us-ascii?Q?bHzmflWzzMGhTpcnpDkmBmGloQTxnC/kiJGL6tnG3MIn9rH8IMucyFYGqcr4?= =?us-ascii?Q?szOiouoc74Zx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ga?= =?us-ascii?Q?M2B++qwMqEJJ1F1dneDRlT9zZxu0LttzGPVqcv5kDhpfWiQWnvbrdDan0inX?= =?us-ascii?Q?9aq/Nv6PEEIRLDm9tQC36YuMWntgl7IKPgRVFgNboSwyrdMdf3FuX6I3Vw0d?= =?us-ascii?Q?bYfJgIJguD1aVMwgrKXkDNyBEXdIUvA6DY7nQCk5XVF1ta30VUIUwtGtVAIB?= =?us-ascii?Q?Y/9zbYS70c/ZQKSTKg0hFamkmF2dugJvkkzXMAF0B/FFtaJA1MvN2gFYznqw?= =?us-ascii?Q?O0SvcPsv88/juMLHyqWe6d2ofro7iXKNt1zGqxgm5RtiW9sF+WVS5qOHi9Tt?= =?us-ascii?Q?ZYMOS0Z04xFZ+s1BqW6nPMs2J15MYWil+OqhNqD6pup8GPKfQuo1BiB608Os?= =?us-ascii?Q?jO+nLrnpebvxZt2eWcWw8JlF+wVxD93wma02kVTV?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB5986.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb864ed5-5ce1-41d6-b6f8-08da9091ce04 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2022 05:28:32.6794 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hik5GXzfKAurRBRmqhh+mzkVDzRDugVKmo2GqWToB74s/IbgoKy5Mc8SUtvmTI9tkZqk2sByHEa8A+qJaX+Q/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6678 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Wang, Jie1X > Sent: Wednesday, September 7, 2022 1:11 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beile= i > ; Yang, SteveX ; Wang, Jie1= X > > Subject: [PATCH v5 0/5] support flow subscription >=20 > Add support AVF can be able to subscribe a flow from PF. >=20 > -- > 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. >=20 > 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 >=20 > 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 10064= 4 > drivers/net/iavf/iavf_fsub.c >=20 > -- > 2.25.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi