From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7881CA04C3; Fri, 25 Sep 2020 08:34:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9EC2F1E4ED; Fri, 25 Sep 2020 08:34:05 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0AF4D1E4E9 for ; Fri, 25 Sep 2020 08:34:03 +0200 (CEST) IronPort-SDR: wEeLsMg/LgfAND2vL6k1K89wxkLGWTg3GMpROGm5hNMGlJEi8ajfQU883+FosDy6due8/YPfeg FyxIv9grBthg== X-IronPort-AV: E=McAfee;i="6000,8403,9754"; a="149110027" X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="149110027" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2020 23:34:03 -0700 IronPort-SDR: KoBcj2ndA9pVzT+EbpoHkT8bJlFQMtr4ZkSt0OSwLjQitYRo1Hcpxh02U5/fxpA5XQRnQrgqIo 1DkrJUWAyF2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="512671098" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 24 Sep 2020 23:34:02 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 24 Sep 2020 23:34:02 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 24 Sep 2020 23:34:02 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 24 Sep 2020 23:34:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O/ZkID6LSTZxn062OHOrF7zR9tYwPHrmlYNPb5rAAcAKjDqKQI0CsBJ3sdIcT3tAuGsjTtmt1da2NWgKPy47klc5K4RW5TkOc6n6CN4aoTebPBdtwQgf6XsE2JVmu99Xgc7O/aYvoLoILgP0pEQrB1PUEd8A9RPU1p8lpTQqAFSZPd7RkaLUNnsEY8g5cH+Jl9I5tpuAqcu8qSTWP+6QyL4EInTlHiozOvLfC8M3IOncmJfo5KXSmQdLHWRTz/dDas3NB3kHe2ECZ4bWV3ER+ijru5k1vLGRaWddGijAFrZ+4d/XnYt0IrUvQlqiZRtPItezGQ3TeH8F83NtC+PceQ== 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-SenderADCheck; bh=OEs7iWVQINxbRMLAGEqoizQ7aWkR/ZZ5RjpC13rum6M=; b=NQ4ovkMEb8k0bI3i+g7BmOIkiPcVCh4/FrcDJdYfoXIOIt6tZ6OaTpdi3pQBMHmwXmz7SKp30IphBasvzV/a5Ed5NqyMBTLFYowgSDfW8ZtFAhVQt8aLxsUAXRJsMIY/dQtFD58F/BdkZ1LZ/9vji/dKzCfetac/V7Vt0T+J1qejOyJ6rWWT2Lhj2W9ERPjEGnF64EpFmzMwh6EtBoG7akY7fG9q9Je1fMSkuPAktFODQcNqBypfvZ7jfteZHIl3qlpKYlAOh+/Q0LgMLMz4mKnCzUrV4xlYAYrFKFKIwsC/CADWOFSsTJJIlkm3Q0qUwE2hYpgLwvXbeqzisdZlGA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OEs7iWVQINxbRMLAGEqoizQ7aWkR/ZZ5RjpC13rum6M=; b=Q09hR3fsoPBoeraW3JkALmq3lMRqydAEaQSQSUV7ghjs+EI2NAIQjaxPLON7QTYHZq7gVb0HoyQT+AdxDavhvavGZeVBTH+j9u3kJJb4Ho5p93UPcZ80rPwLy3Cj1x3wq9QGzYC6NRkTcSyi12zUih4/xJYACF29lp7/GSLqspo= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB0034.namprd11.prod.outlook.com (2603:10b6:405:6b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.24; Fri, 25 Sep 2020 06:33:58 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::e4a8:91ab:e032:b8ae]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::e4a8:91ab:e032:b8ae%5]) with mapi id 15.20.3391.028; Fri, 25 Sep 2020 06:33:57 +0000 From: "Wang, Haiyue" To: "Guo, Jia" , "Wu, Jingjing" , "Zhang, Qi Z" , "Xing, Beilei" CC: "dev@dpdk.org" Thread-Topic: [PATCH v5] net/iavf: support flex desc metadata extraction Thread-Index: AQHWkwTrym11bDcIM067NjqhF3qSxql45OZQ Date: Fri, 25 Sep 2020 06:33:57 +0000 Message-ID: References: <20200909025415.6185-1-jia.guo@intel.com> <20200925062318.34564-1-jia.guo@intel.com> In-Reply-To: <20200925062318.34564-1-jia.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 57553580-e039-4aba-5ed8-08d8611cfb80 x-ms-traffictypediagnostic: BN6PR11MB0034: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DjAr09GKL0e45kQhTCPCv1WUtmbEIjHbSYVqpgeXzYptVsXuYB6+9EDIBdoeuhqHcDgee1mSfaZHh4NHDbBTpdfLvN9HvJVTxdNHu7N3SkmtfLg3euBWbsJ3AMfM2CKz3Cf9Y444yTQxTI/DWG9Z3O6tVlQCmJNm/Qi/180K/2QtzDPvy7456cNW2XA7W8oe9bv26uYRHyqMRNUuKsJ3l7CSLGLa3KvpMe2hAnQhe2XGo/B+fOSMHsCzBTPFtHYkEjePvn8fONCeGUYnQ+q5ukJGh74bcC5TKTIPfXuUovb7l17r8QWu50X2ZAQNI/G9e1WrTqzBSyHCUjyNpB7f/SsTwypXb9PmLZy4t8jIPVFMFiSMwWeLD/ryaeyj81wU x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(39860400002)(396003)(66556008)(86362001)(478600001)(52536014)(316002)(110136005)(4326008)(66446008)(64756008)(66946007)(71200400001)(66476007)(76116006)(26005)(6506007)(2906002)(33656002)(19627235002)(186003)(6636002)(5660300002)(9686003)(83380400001)(55016002)(7696005)(8936002)(53546011)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 1eeKR9aB0+kL60E9P/eD21y0VcjE52v/DPxfXSWH+ACBX/W+xHtLoWM4Hf0VXxhBw5ubrInNJVuVFVKlYU9oBRPJ8sJQVHxnDIAii05vMI1naBoYk8da1y35JuRJSPwinBTokXFTS6bELGy+8e/39lOLpJIY9NgW4SHGeT+yWdB39oDs3wOKZ+k6EC0v5AZKOiFa7+jYpGBhtidE+sQKq+RPsrPqX+LKGnlSR3uVZt55diRjTLFwl9BnfG1KLlIxvfroDfytCA1R6CA23x+RG0OlKCgYQIwvdqcLdvIusk8JuHIRndhSseYze91wnvRONKCqkpv1I02tT2deQvp8FhoNrwiatfg9GwyPzs1sZByOI6MbDxWeAHnWSNmbPrH64TlHsv51TT3DYjT14SI87+fiEQdqcKit6Sa0UruwVFfZcWZp+HyFWcjXtM+CZ/CgXy5t7Wwv3uz60By+2AUoAEwqM4ApY2829XUiKN4vqNHsbXYMFIELBLkq4TGWQl2hmfHhqAwSTEk9gTU0xEeNU++5QBZtm8lPvUfdUK5t1p7q1CORbXzVBT2JWqIZKx0/81yYPc7p7QhgTybd63mKOlWR1ikV4AbEqQZ4sdyXvmrfxG7v63nDwja6phGaiJ/iLmfuD/yBRtBeon7v2kstLg== 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57553580-e039-4aba-5ed8-08d8611cfb80 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Sep 2020 06:33:57.3121 (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: XWlxW6EVsDNyoRCAmtNYsAXmWKdnuS7dNd4Gjd7ZNrLk8gf7b8qlPb71NK/P4EZJrK6h40HnE5V2Iwx9rQ1cvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0034 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5] net/iavf: support flex desc metadata extraction X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Guo, Jia > Sent: Friday, September 25, 2020 14:23 > To: Wu, Jingjing ; Zhang, Qi Z ; Xing, Beilei > > Cc: dev@dpdk.org; Wang, Haiyue ; Guo, Jia > Subject: [PATCH v5] net/iavf: support flex desc metadata extraction >=20 > Enable metadata extraction for flexible descriptors in AVF, that would > allow network function directly get metadata without additional parsing > which would reduce the CPU cost for VFs. The enabling metadata > extractions involve the metadata of VLAN/IPv4/IPv6/IPv6-FLOW/TCP/MPLS > flexible descriptors, and the VF could negotiate the capability of > the flexible descriptor with PF and correspondingly configure the > specific offload at receiving queues. >=20 > Signed-off-by: Jeff Guo > --- > v5: > remove ovs configure since ovs is not protocol extraction >=20 > v4: > add flex desc type in rx queue for handling vector path > handle ovs flex type >=20 > v3: > export these global symbols into .map >=20 > v2: > remove makefile change and modify the rxdid handling > --- > doc/guides/rel_notes/release_20_11.rst | 6 + > drivers/net/iavf/iavf.h | 24 +- > drivers/net/iavf/iavf_ethdev.c | 394 ++++++++++++++++++++++ > drivers/net/iavf/iavf_rxtx.c | 283 ++++++++++++++-- > drivers/net/iavf/iavf_rxtx.h | 168 +++++---- > drivers/net/iavf/iavf_rxtx_vec_common.h | 3 + > drivers/net/iavf/iavf_vchnl.c | 22 +- > drivers/net/iavf/meson.build | 2 + > drivers/net/iavf/rte_pmd_iavf.h | 250 ++++++++++++++ > drivers/net/iavf/rte_pmd_iavf_version.map | 13 + > 10 files changed, 1051 insertions(+), 114 deletions(-) > create mode 100644 drivers/net/iavf/rte_pmd_iavf.h LGTM Acked-by: Haiyue Wang > 2.20.1