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 E5FB5A04B5; Tue, 27 Oct 2020 06:22:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C54F62BD3; Tue, 27 Oct 2020 06:22:06 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 1F62229C6 for ; Tue, 27 Oct 2020 06:22:03 +0100 (CET) IronPort-SDR: ILqqlqsKpDD5LPpXedT+OdNKxrcreg1NKB4CtbVPeoDAySwt0QFweOMYuJUAnMm6KKXrFs5AOa RRLYs4+lftxA== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="252728227" X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="scan'208";a="252728227" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2020 22:22:03 -0700 IronPort-SDR: EiFV8c5pxUDtM8jicZJqWC9IUNAvi/F7gq74I6Rb5/sroa73KEjJJ6ra8hR/590Ul9/fauvB9W Cw8NAE54iSAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,422,1596524400"; d="scan'208";a="350389572" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 26 Oct 2020 22:22:03 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 26 Oct 2020 22:22:02 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 26 Oct 2020 22:22:02 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 26 Oct 2020 22:21:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nLZz915KPu7ztn3iNqp5s1euEZOjI0Sj+Km1DxNM4z04c6VlO2WJQIk0SLwFR0NCa1xfXDRMX6pRtfoWZhC3kVVK6e19Kbi5cHDUVaPepHDduPcHrP9VMPfjr1ReFmg0ul1iSc88Os5mTuWW8OBYXJBBeAqnK1to88bj2qCDw64NQ1t6DNepw8jrNb9R4ByXsEtVl6YFKzVkXGBguVv8q82K7sgo2Gu6QYHdZV+3RRnHX7xGawdoz13Mh7HiFqG9fAeGCj6snsM1mqhGKNytL0bmpz61fqgDxEddoAxMoQ4qPVpsT5ModT4f6qNkZ/qgqHbf5fX6F4Lz4Xyf3farcg== 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=3d4mnObtlA58MEs0Mjd8YmICavDx0UnqD8z++QjIJBw=; b=fU2tFSfyVF6mnW1ya8PnlN+F+BTRnzfLot9dWDWmGdN86+6PU6POgDiM658p3v7zr3BbLjEcjEIznE4/NLuE2isvGQxMUWXJkwTSvG+fz+RWvJ4bsTDgtfj18kJhR/a0K8Sx7FvIaKLkGJ9CEHCu8u3vKcwbIEXyEbnT/+2t6LTBCqkYoe0UPL+7GrL+IRCM63kj5B9vUoaNYuwj8GgUo9fOiOy02sJE0GRz2NKX9Qi5hVyJN3ZCJuAb/D4PBGFs1cTGp8fPxQVZ5z8WU3l2aq0IMXaPsu9MCi9Qh7GljL9pskFPwR1W5xdYbBgjWpsZI2n2Por/A7hQDHllQWIkaw== 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=3d4mnObtlA58MEs0Mjd8YmICavDx0UnqD8z++QjIJBw=; b=jUB0axIdJAj5hEjV4uuWoCIx2zSHHnprrfLlDPRpc2Sg/nrmlOZZ3onZ1fWUNdk13a/U08yGisEu46GfpZTTFEiiRgGQzKCm6N3JQOXb/PhGNxjR2Sv89KyvAgi41tyFBVQ/kArT27vuXonsHlU0Lp2aUN4VfRCJOQF6i5uaR0k= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN6PR11MB1587.namprd11.prod.outlook.com (2603:10b6:405:10::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Tue, 27 Oct 2020 05:21:50 +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.3477.029; Tue, 27 Oct 2020 05:21:49 +0000 From: "Wang, Haiyue" To: "Guo, Jia" , "Wu, Jingjing" , "Zhang, Qi Z" , "Xing, Beilei" , "Yigit, Ferruh" CC: "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [PATCH v10] net/iavf: support flex desc metadata extraction Thread-Index: AQHWrB/eBlMmiXtXg0ma6I5HYu90Oamq6RAg Date: Tue, 27 Oct 2020 05:21:49 +0000 Message-ID: References: <20200909025415.6185-1-jia.guo@intel.com> <20201027050452.97422-1-jia.guo@intel.com> In-Reply-To: <20201027050452.97422-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.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ee0a37bc-e10e-4d39-e4b9-08d87a383504 x-ms-traffictypediagnostic: BN6PR11MB1587: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cNU6NFTIp7EHPp0unRLpHH2EjYhhLntkWpmnFGt589L5Kv0sWIAXRdgcJQOjMHoS8dKZuud5MEm4jTxu/OJBaUys9ny1UhP6UYJINa2xzyyxlO3HsKqRqM0kdsVKoC+yhi5r9nP4k6593n/1HBATyKIkjzfQhbT/cBh0oNg5djBB8bk8HHRjonx0EY6ACS3mIqEo4HQoPtnf/HOacDDOzjqaCXQ9u/NTF9nofy0EJ8pnRkHL45UbuGFr1SDtvAMnOSOs57pXoLQ978eDRaggp/pNrFZkzRWwKTlaRGIBVEKZbO+tUtQLOSDfPeCxLrnDDOgaTBP7cirJdaIfSdL9SLNqb7B06fGOXmlDXGpAlWuXzICc1xEAs3zXa40muU7M 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)(136003)(396003)(366004)(376002)(346002)(39860400002)(66446008)(66556008)(53546011)(64756008)(26005)(66476007)(33656002)(52536014)(8676002)(2906002)(4326008)(186003)(83380400001)(66946007)(478600001)(19627235002)(110136005)(76116006)(9686003)(6636002)(55016002)(5660300002)(71200400001)(86362001)(54906003)(107886003)(7696005)(316002)(8936002)(6506007)(921003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: mIJOV8npSPYZayhD1BIBZhRF4F3kcP4kNn91M6X0OWGO4MHsH402rF973Ou+6gm2+r/Unatd8XK1rvBy3oiKjgBMAsItUtlh4XXrxgYE2iTTQxLVGDRlt/rMuU2RzbeAWJzAUi02BDkJ9uKiPs9MhnFyxrGjTaKOljIHGMQWPALEhj4/jiiYEneZtJcB8sw0bd+OM4KGfWijXYegj8w0/52UF6c1HetzVUFg3sbOwGevNXVwpGA41IZ873ogmnMThrlxH2ZDSlAgbYs9GLKN6K8WOnNxw2WZmaYPxlUaZu2anCsdVQ/Mez8vXWJc9u4jM/UCdMFkH4cGrIIMIEm3aU6wzDPLKB+PP4th+PVrsxV+9gsfsIKuTCqjdbo5PNQBD0eC9l32OJ0DHbGghJ991ifaLDJK0BZAXbHK2HwsBqARoxAWfNakZ4KNuMDptdVdBx+QWRKlJVl+61PPJNOVD3CEpbJA/vTkqFQJZshvPlZW94WCw4vMZaiPpFgoh/e0VHUuWpnkJLD6TWQdmXS9ImiE/sKwxx5Q4Z0ZbEg3Cf1vefStdpK2l6k6ama3CVJTYuZhBTAJ4GJ7TJq/JLcBHM+ueMod+fc+NDKXSzPh6boLDokMgUvcLdAkPvNwTboyAeLmSgyrpPSOqxL3n17ijA== 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: ee0a37bc-e10e-4d39-e4b9-08d87a383504 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2020 05:21:49.5237 (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: lkJvHuWdb4mr4uXY8JNaBw6Tt31RiQPhcrpl8Hi0oV9MnQtE4tlsMu6e9SWYJS7gZkiKIW4gCV0BBcANduXgCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1587 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v10] 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: Tuesday, October 27, 2020 13:05 > To: Wu, Jingjing ; Zhang, Qi Z ; Xing, Beilei > ; Yigit, Ferruh > Cc: dev@dpdk.org; Wang, Haiyue ; Richardson, Bruce= ; > Guo, Jia > Subject: [PATCH v10] 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 > --- > v10: > delete the makefile configure and rename the dynamic mbuf name >=20 > v9: > change the undef config >=20 > v8: > rebase patch for apply issue >=20 > v7: > clean some useless and add doc >=20 > v6: > rebase patch >=20 > 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 | 252 +++++++++++++-- > drivers/net/iavf/iavf_rxtx.h | 169 +++++----- > 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 +++++++++++++++ > 9 files changed, 1008 insertions(+), 114 deletions(-) > create mode 100644 drivers/net/iavf/rte_pmd_iavf.h > --- a/drivers/net/iavf/meson.build > +++ b/drivers/net/iavf/meson.build > @@ -35,3 +35,5 @@ if arch_subdir =3D=3D 'x86' > objs +=3D iavf_avx2_lib.extract_objects('iavf_rxtx_vec_avx2.c') > endif > endif > + > +install_headers('rte_pmd_iavf.h') One issue: headers =3D files('rte_pmd_iavf.h') Please refer to: commit 30105f664f8ebbecd878deff7f0733a3f92edd17 Author: David Marchand Date: Thu Oct 22 09:55:45 2020 +0200 drivers: add headers install helper A lot of drivers export headers, reproduce the same facility than for libraries. Others, LGTM. Acked-by: Haiyue Wang > -- > 2.20.1