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 B85ABA034F; Mon, 11 Oct 2021 20:23:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A319041109; Mon, 11 Oct 2021 20:23:36 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2056.outbound.protection.outlook.com [40.107.223.56]) by mails.dpdk.org (Postfix) with ESMTP id E96A041102 for ; Mon, 11 Oct 2021 20:23:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZgYsao23N0ZdtQuCjNp4JAvlCtaX4A+SJSl3vbappe+BMyJ9O4MQefJgpovvqphs3D2P5pisZPVpWqueM1122C17KAM2uADfWwj/F5FpCek4Go1cKlzLJFRH+EegKcjbjjntfp1oekY337BIxiFu5X3ZR0JJi+IcUdiD0lxG8sKKx00iBz3wqlVMOF3N4dzMkE5Nd2q8A72Rt39tcRTL6TikD2edCKL25YtQ7ZWHUXsF9fMEe6leh6/EVDKlUVCcfo2r6MMYWA2CRwK5EE2oXSFRre3uRV2uzZSxhWZ2yew0LobmsC8iRSr+MUpeMaREvQdsCyUaxYXIY6pjx1/uMw== 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=DQTD1V4GwnjZ7shAHFaR6ccn+JUrv4M6X5pnLslLouE=; b=LHk7GSfNwL0ufPHkKCW9mD9V9FConbaT6XyfdZQXfuXrtUUc65cTEbQChLAYKP3Mq4yqLZUEgdao96chAGnYnF6B/SjqxojOlSK+IMeJ81SUnYmGyIEMqLsi9tjA6bybRKH0+s3qAIeDBWzlUx1PHG2jbsw7igC74yMeCwLNayHB6oP6CqD4Cnb9xyOqDxmU0XrOqJXX9qDhBZopRisDVDXyvWl0Re9cLzPMXiW3DtO2iW2pAyJBkzmuoGgueunYVGQ0zG76D2EcGlp2eoU0X5puJ1Tf9MYiEEs7EmofVmuGHgqnkBO81wHHYMMtaTnDdfjUS6yGka7IKG2rNM1pdQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DQTD1V4GwnjZ7shAHFaR6ccn+JUrv4M6X5pnLslLouE=; b=f5U5n4hwfO4G0AlDaWGccgW6BOjDP6E+XgsKd/qac9E2prl6UVIpoSQXWqnp+GcY3fPltNDEni+1c2+IFdldb5iKXAHL8m6K9ZuD6ilGgLsPmBAB+SQTR+Q6yfIiqXtu89knNA6tAtrRF8tOm9sBXY2k3maHj1lDyFkvB8efCOFKRWo54IIhntSxy8bvjvuYQ7asp20ChyHEMf0cy1D3x/ePEh6X5vhiShtP2HZBF9urQ8OcKtajJlhh2Q1CaBcrDDv14lfblAQOUETMfYmtATLls8XlbSLV3NAC7jGS/aKpvautp544br1YkGzj1Rcu92X5/tcizo7UeqPuhZhouA== Received: from DM8PR12MB5400.namprd12.prod.outlook.com (2603:10b6:8:3b::12) by DM4PR12MB5261.namprd12.prod.outlook.com (2603:10b6:5:398::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Mon, 11 Oct 2021 18:23:34 +0000 Received: from DM8PR12MB5400.namprd12.prod.outlook.com ([fe80::d03d:1f75:ca20:6a32]) by DM8PR12MB5400.namprd12.prod.outlook.com ([fe80::d03d:1f75:ca20:6a32%6]) with mapi id 15.20.4587.026; Mon, 11 Oct 2021 18:23:33 +0000 From: Ori Kam To: Ivan Malov , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Ray Kinsella , Ferruh Yigit , Andrew Rybchenko Thread-Topic: [PATCH v3 05/12] ethdev: deprecate hard-to-use or ambiguous items and actions Thread-Index: AQHXveS3FpTF5d6RrEKLEKsPOa/d9qvOHcTw Date: Mon, 11 Oct 2021 18:23:33 +0000 Message-ID: References: <20211001134716.1608857-1-andrew.rybchenko@oktetlabs.ru> <20211010143930.4985-1-ivan.malov@oktetlabs.ru> <20211010143930.4985-6-ivan.malov@oktetlabs.ru> In-Reply-To: <20211010143930.4985-6-ivan.malov@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ece9733-41d1-44b9-90c0-08d98ce43c31 x-ms-traffictypediagnostic: DM4PR12MB5261: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TBJnsFbc4/eprxalfusT75bPkbqodBwizIOkTB0ajGo4eL7hlgOFeoMa7OuYXmM7Jeq5f72EuaYYE6abnPR+ZiyyKlekIVJ029Rr+Bqko1pDZgvtGqdLTF3AdZwdHhkk5wQcEAgWu49RNkKPP51bZKKHgZvbg/xKd4D1xDAEqOdb2lv6r7rTL9c0cfbacczRkWVVZ2vAVTXFevLQKiSI5VGKzwaH8/CyezNX8iP/Ike2cBDcsjRU0zQnVPwGN4T/6BsU6sMN+N/t7dh3mDoEqPXMoI27kQ0SXMSAYqBRAkXO1n/QNCHYBaNAKpk6np1X/putuGELMi3gdw/l4lDxxy1o1IBIUPeSU+o35DRI8oPhDwJGZMsbi5XBJsdCyJXbTjcL7InG1vj+cQUgLqwX9JJLiC/qCA94dmcJ95APw6F0AiyhGkJ/DBxTxvQY+aFG08TbBlGSI3xXP3UIYlhI4v8ThTkrqcFoaD8NCxPRstmygDtEne2OZKgp44RNHPQIyZAHjHbxJEK3iVjAChqZxX7FTZtkP6FTAvxiQPUiqG7tgLNxa5NKXhmlR5fZ/rmTsk8sIFDKrVquZiDdLcypEVmk8/IBKrWr58XD07KuUDWtRaCjW8QxkqVJ/d8tWUrGcbLF6aZ8xaqdrgiZWa3p2Y+ew5/q8HBifmhkSX+tflAxnj/a4Ok45d5JdHbAnbS+KpBUonOAtYW+zzCuo8nhWg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR12MB5400.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(7696005)(53546011)(6506007)(52536014)(64756008)(508600001)(26005)(71200400001)(55016002)(9686003)(186003)(4326008)(8936002)(66946007)(76116006)(66476007)(83380400001)(66446008)(66556008)(5660300002)(316002)(33656002)(54906003)(38070700005)(110136005)(86362001)(38100700002)(4744005)(2906002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PKVxwoPmHidIFAcuvmJfbbScl1Ir1v+Nviwvf+PVa1Xfj6YjJVQLUf9FP64g?= =?us-ascii?Q?fF98uYzk5WRHZ1UFbpc0vlTyke+GdhLuqL0aX2VUyvzeqM034j2WNX1AdE/N?= =?us-ascii?Q?AxzhJah5i2FBepQ1o/gZ9893nfjtIAsEV+2L3tSDR+aVL5XYjfjA4k2rU+1d?= =?us-ascii?Q?SXUU4ZUz+iBM79EDT9VVoCKckkRxKHP2iMuOEKw8WHD7Tl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kC8aNQmIp+CFKu8TLJ6M81tJrWab/Sy3FwUIT4RcWeaZMaZPAQ5R?= =?us-ascii?Q?mYFgwz2KQchcobhdEklvYB1u8T/HLMPRRg0NOHEpiK0Im9AyvXu4WrO+Gv3M?= =?us-ascii?Q?UhcZjRpfRSL5tddaZvhBA5+gvRlwgxlzctYzsk1h/CbLq4XNTu7b7wP67mVA?= =?us-ascii?Q?HyhaDX341LUc4cjuZl1MYBYFtD91BhV+jXwO0UJViUYkxWSSrXWnPe05ObkQ?= =?us-ascii?Q?lrYEqMkA6Nni7QA8T09YseaV?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR12MB5400.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ece9733-41d1-44b9-90c0-08d98ce43c31 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2021 18:23:33.9088 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 87eyVqaxRvyEzy0U6dWr/dFl2i2Tm6zWniwSC3zgnv/41Y3gSzWNnlqENcgIiM7mQK+xUGmoXAmYJPcUnsU7dg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5261 Subject: Re: [dpdk-dev] [PATCH v3 05/12] ethdev: deprecate hard-to-use or ambiguous items and actions 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 Sender: "dev" Hi Ivan, > -----Original Message----- > From: Ivan Malov > Sent: Sunday, October 10, 2021 5:39 PM > Subject: [PATCH v3 05/12] ethdev: deprecate hard-to-use or ambiguous item= s and actions >=20 > PF, VF and PHY_PORT require that applications have extra knowledge of the= underlying NIC and thus are > hard to use. > Also, the corresponding items depend on the direction attribute (ingress = / egress), which complicates their > use in applications and interpretation in PMDs. >=20 > The concept of PORT_ID is ambiguous as it doesn't say whether the port in= question is an ethdev or the > represented entity. >=20 > Items and actions PORT_REPRESENTOR, REPRESENTED_PORT should be used inste= ad. >=20 > Signed-off-by: Ivan Malov > --- Acked-by: Ori Kam Thanks, Ori