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 E801FA0545; Tue, 2 Aug 2022 12:12:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BED640141; Tue, 2 Aug 2022 12:12:55 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 187AF400D7 for ; Tue, 2 Aug 2022 12:12:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659435174; x=1690971174; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=G9sYzdHuyvRIq+W0eh12rJVDVOlj0jY8ZXBsbkcsDV4=; b=nO4nmQEcsfTc1CIFcr8slR130YybGajWmnC90rTaRkyJCYm80Egu35CI TF0eNAuByuM3+OTpHQ/1xHlECr/t18J+Wr5G9wUOavwmY91Hxb91HLjYT ntedZ3JJY+ugf0Lqr9BdHRQCGcgi6mFvErgPC6YHq1t6oYS49+alUizTe 0A3ZmAgw29ehuJYS5cSAv9puEn0dtkvM25rRxlCP1kEENVgMf7fKUoe0+ NxtCWG2zgEs9tEkzSgtgmlbtj4y8qSQMC7jhwqFcR13v2WiUZoJer2RSK l6a5dcEG9XPutJAs+TzqJ5X3Ds4np7QA5Yn87GIi21I/wVJB8XenJTkdB g==; X-IronPort-AV: E=McAfee;i="6400,9594,10426"; a="290148423" X-IronPort-AV: E=Sophos;i="5.93,210,1654585200"; d="scan'208";a="290148423" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2022 03:12:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,210,1654585200"; d="scan'208";a="929915694" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga005.fm.intel.com with ESMTP; 02 Aug 2022 03:12:47 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2375.28; Tue, 2 Aug 2022 03:12:47 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.28 via Frontend Transport; Tue, 2 Aug 2022 03:12:47 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.40) 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.28; Tue, 2 Aug 2022 03:12:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VRo+mtdT7Wf1hm/+AWHcy49fa2zUrqko7xX/azibKjYc3UIhHEl4bY2+3URvsjicROZXG8iQzQ6D+XZCYAXPbr7rLrmIfsYWFTXhpiqAcK0pJzcx9034AsyiEVtVylqmjpYx97WzqtQ3FrCyeSvJtdI1CTarfjywtdY0I1NjNA4xatDdILDB5W07ssFDz1ZWUz5iEoB8iQjRKwtQurHmB2KItpp7rDACLYlSehggQbI4gSNYFr9xof2WyHl/FsWojNQ0sIfy2dCa1iT13Wg89UtNnZ6x7FBW9iM7j6iEvBOvuv9IjxGZ315j4P+cKZcasNpOoF0nZzJoU7FFHdCSpA== 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=yCHNtNyNJYhVJxZ/xzBBgv2240zxUEZJU4Me2Vkw8p0=; b=mexQogokO5nyUqZvynQ44GUaJ510FPzuCZB1zeeMHdV6MlZZIF8zmSvwh4V7wmegJMfMC4qMhXUmYMk3fyIiWzKiYrfxywXj5yFSX35a+N/mLw6uxfG0pbXZ78MZ3hkmhj91rgIcF4j5SxI+n3qqnSSgBfCb9gFNbqq8GYsmFqKZj7H2Lzbb76RfiItnMtYcHFNco9InEfUGcZxff5s201bc3sZi0H8htj6XdUCtkERw8Njo9prQo9TMinvYoiwj/frOweLZrmuKjezQqqOtuhOk577TVJLV/QEy4VKrCJYs80cihupIWW+wDL9fDMvwuXRQk9gtgtdwokbfgJqVAA== 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 CO1PR11MB4897.namprd11.prod.outlook.com (2603:10b6:303:97::20) by CH0PR11MB5313.namprd11.prod.outlook.com (2603:10b6:610:bc::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.11; Tue, 2 Aug 2022 10:12:45 +0000 Received: from CO1PR11MB4897.namprd11.prod.outlook.com ([fe80::ad09:b3ab:f943:3217]) by CO1PR11MB4897.namprd11.prod.outlook.com ([fe80::ad09:b3ab:f943:3217%2]) with mapi id 15.20.5482.016; Tue, 2 Aug 2022 10:12:45 +0000 From: "Wang, YuanX" To: Thomas Monjalon CC: "andrew.rybchenko@oktetlabs.ru" , "Li, Xiaoyun" , "ferruh.yigit@xilinx.com" , "Singh, Aman Deep" , "dev@dpdk.org" , "Zhang, Yuying" , "Zhang, Qi Z" , "jerinjacobk@gmail.com" , "stephen@networkplumber.org" , "Wu, WenxuanX" , "Ding, Xuan" Subject: RE: [PATCH v9 1/4] ethdev: introduce protocol header API Thread-Topic: [PATCH v9 1/4] ethdev: introduce protocol header API Thread-Index: AQHYfxNApzOFJ40kK0OZCzZ1KpTcxK1ywyyAgCJ+JjCABNvegIABagIQ Date: Tue, 2 Aug 2022 10:12:45 +0000 Message-ID: References: <20220303060136.36427-1-xuan.ding@intel.com> <3684735.UjfFaoq8vQ@thomas> <6334913.K2JlShyGXD@thomas> In-Reply-To: <6334913.K2JlShyGXD@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: 6e8e6f78-36e6-41e5-d144-08da746f8b33 x-ms-traffictypediagnostic: CH0PR11MB5313:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7N8CW69PixoCJ0awQaJQtVOnOaTsXag99amCM96WkY50355zj8nclJEMVhISJ5/LGDAQadgg0QEWt50cF4UeomDxbW6p9ySC0k40RNAYc6MO+2FwX6PrWFKjWNyfO6s7m4yUuhoriJMfNwbtrDidpESxIZFqLuAI1XxzoHmq4nn/JcNlWX/8t8xvdt9KfOT68pAzlI2THIjP+3U6QS9FBoY+b2sBN4a3+sPdYEcKUbZbbxCUsFgFRy3XPehib/wTe9OldOKTJKXgfDZ/xRKPTmFdQNEbCO/TjfilpVouPe71Wy9p+Gz+ubVvqfemkuQuB2Rp9z9RrzB8KaZTMrQ8JQUE6tM0YXA0wQminftnHYjatZRxcoChvl/nL4HQz9/Cv3ymN0Ubo7dsUcw03uWRAD9BQaJxB8rU6ejvv1gU1E9J27fF4vRNuHDqmQse0z2HcjJ2cY5Ly5pSjj/9L0AHPdaWCQllmAJakmCNmGpEGRI5a0ac0XcnFg5c4gBBe3m9FlyxVNdPOcBi6tuNqz3tbhD1eSvUwuLIWYHkYP4k6xLccfcUuXMiNziGTTaReJh0ny9F3ABgaPoAkPN5WtY4zxDIIr1IfTzcDViGiUDfYPTvrSpYeIoyystsAtTXGqcWNA6tIlrRahiMrKavbnuhaFnHRxqXHr5DLik4s1K0PBr+qJdQlijfD+8ObNROEAhVza6PqhKywbolzvFzm0FXFZCtaZGALESYbsh+8T0ElrgK763ADkbCJ3sbFqhkMdLNLGv5x4ctK3uoml5eBiTox8OYM/ERq5zcqw/q/WOspBtom6aCwF62PYa7BLXBtbtr x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4897.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(376002)(366004)(346002)(396003)(39860400002)(5660300002)(83380400001)(107886003)(186003)(76116006)(66946007)(66476007)(8936002)(8676002)(64756008)(4326008)(66556008)(66446008)(33656002)(52536014)(2906002)(316002)(478600001)(71200400001)(53546011)(9686003)(26005)(54906003)(6916009)(55016003)(41300700001)(86362001)(6506007)(7696005)(122000001)(38100700002)(82960400001)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?RSW+yqksCkn4VvfebM7kWpxoksED3c2cgTY2IMOwSoXbZAsVc7PzQlOMNIY+?= =?us-ascii?Q?stOqIvbk6UH7bk0M4iegeZISpSfk256WGywubqIobtaXsJ5tAruFojQBHQQA?= =?us-ascii?Q?Fz5f7PTOxfHE1O5aYK/xEgM7O7IeCXcVRVajIyPuqFr7dHSfJNNObtczMsnK?= =?us-ascii?Q?U3xxNy0mQjINIReqGKUR3sYtpCc+gGM2QSbMVJnfL8nYmH0OnWgGoHXEvU5T?= =?us-ascii?Q?rr7nK+E+E/OKi8fOBErEa1c6dyecgLFyUhsm7yVyxfN7tIXrWdAQBUisrMVA?= =?us-ascii?Q?RKQqsjV1WAOvqXtoC2dG8XmxA9W7HPYafMlNsvdXuK7UovaglJF7y/iRy9KI?= =?us-ascii?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uvL40mFPPt+ZF2qxLl05Rn5?= =?us-ascii?Q?4kMgQ+1SJYsSradCXB3/sABj5EsmHax91xZuvfARSOo1lewKQgR8OZVkgFts?= =?us-ascii?Q?mpDhNjaxg0czhDrd3VOe6LxP8SmwLqQHzoRHiZwrcsfOIq+59i6VvlgHMLgm?= =?us-ascii?Q?L2GCcnN8psQW6H5IGLluKxO4fmlYQbz4SwbYMNOc30eZG28herYn9Nzx/aWI?= =?us-ascii?Q?LUoCb19BVpwMjogukaO5mXih8BZ1NsKeG1VfmX4ndGQ24B8yv3+iXMOl7uRr?= =?us-ascii?Q?avinFQ3PKDp+GmMkSCrTnQ+qZmuOi1x7jYON9yxTyLnvZYp0CRVlxk+6EuC+?= =?us-ascii?Q?lg2ZCIs0iKAh8r+j7sf7s64+S14LhBwYrO2sn9tE?= 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: CO1PR11MB4897.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e8e6f78-36e6-41e5-d144-08da746f8b33 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2022 10:12:45.1654 (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: EQqqI5yCed/Ji7gGqneEEJ0UR8ytXgLwQVlcx63oEogfdnlNLvpjXmmOmvbsfpyP6xDL4Y89KQqViM1ZsZftxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5313 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 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, August 1, 2022 6:01 PM > To: Wang, YuanX > Cc: andrew.rybchenko@oktetlabs.ru; Li, Xiaoyun ; > ferruh.yigit@xilinx.com; Singh, Aman Deep ; > dev@dpdk.org; Zhang, Yuying ; Zhang, Qi Z > ; jerinjacobk@gmail.com; > stephen@networkplumber.org; Wu, WenxuanX ; > Ding, Xuan > Subject: Re: [PATCH v9 1/4] ethdev: introduce protocol header API >=20 > 01/08/2022 09:09, Wang, YuanX: > > Hi Thomas, > > > > Sorry so long to response your email. > > > > From: Thomas Monjalon > > > 13/06/2022 12:25, wenxuanx.wu@intel.com: > > > > From: Wenxuan Wu > > > > > > > > This patch added new ethdev API to retrieve supported protocol > > > > header mask of a PMD, which helps to configure protocol header base= d > buffer split. > > > > > > > > Signed-off-by: Wenxuan Wu > > > > --- > > > > +/** > > > > + * @warning > > > > + * @b EXPERIMENTAL: this API may change without prior notice > > > > + * > > > > + * Get supported header protocols to split supported by PMD. > > > > + * The API will return error if the device is not valid. > > > > + * > > > > + * @param port_id > > > > + * The port identifier of the device. > > > > + * @param ptype > > > > + * Supported protocol headers of driver. > > > > > > It doesn't say where to find the types. > > > Please give the prefix. > > > > Sorry I didn't catch your point, are you referring the ptype should be > composed of RTE_PTYPE_*? > > Could you explain it in more detail? >=20 > Yes just give to the user the required info to use the function. > If ptype must be composed with RTE_PTYPE_*, it must be said. Thanks for your explanation, will fix in the next version. Thanks, Yuan >=20 > Thanks >=20