From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) by dpdk.org (Postfix) with ESMTP id C736B1B44F for ; Mon, 22 Apr 2019 19:46:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6y29MFE/wjI3j9avhevwWBl81DMkhDbeaVrQF1mB/w=; b=bk7S2Fq9m3pneFtYm8pnEBxO7WnSkfu0OinGltAhmycbeX12VxWWlHfXPBM+g/S81Cf/DYIcpcoRT9VdJfeQ5eciJIPlZ8Mlki1hhBb3OXWc2DGE9Hk2eHosz3X/O3EwTNspD/edeKLIqpqp7yxNvuoHT8KeGTZ8xi2+2orZkHY= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3604.eurprd05.prod.outlook.com (52.133.46.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Mon, 22 Apr 2019 17:46:03 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1813.017; Mon, 22 Apr 2019 17:46:03 +0000 From: Shahaf Shuler To: Thomas Monjalon , Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: replace a port lookup with ethdev API Thread-Index: AQHU9Xva73l7y+nVwkCm56t58M7rpKZIeLmA Date: Mon, 22 Apr 2019 17:46:03 +0000 Message-ID: References: <20190418001529.7528-1-thomas@monjalon.net> In-Reply-To: <20190418001529.7528-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 766bfd52-aa32-46ad-d6fd-08d6c74a6400 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3604; x-ms-traffictypediagnostic: AM0PR0502MB3604: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-forefront-prvs: 00159D1518 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39860400002)(136003)(376002)(346002)(199004)(189003)(8676002)(6246003)(81166006)(81156014)(229853002)(316002)(14454004)(66066001)(558084003)(6636002)(33656002)(4326008)(5660300002)(2906002)(53936002)(8936002)(110136005)(97736004)(256004)(478600001)(55016002)(486006)(25786009)(446003)(476003)(68736007)(102836004)(99286004)(6506007)(76176011)(6116002)(3846002)(7696005)(74316002)(9686003)(71190400001)(73956011)(186003)(26005)(52536014)(7736002)(305945005)(66446008)(64756008)(66556008)(66476007)(6436002)(66946007)(76116006)(71200400001)(86362001)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3604; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: thOMuynVPMK0M0GeBIjtL7pB8FXQOUyGdeoT3dkS2IArtnPHD3BLGvwOMpN4OUwkDXDbriR2d4zETH5cfH7+aIPANKCBybj37FTsgHaMGUtBnBIpW5SlFjsPmtPczgRwL2x+diGDFKOoovc1yluvK9S1D2S/TTe74uUz5XQeNqB5TEGQva7K1S0ONYtW7shHGAnMA9m2qYMKY01zdDM5l/3RmdUjMndCxtbksYnmQbdJhgFX0WoaRmK82zUB22aHeXntOvC/vHACmmrub2VvX+y0D/LJcQiFN0q4cJJgo4U5BZrxDvs0iZPvj+juEOelnNR2M5Lv30vH/uRHpOvY/BztDcSgETeqOcC69rml+eK6PQfT9czZ2OpWgeEvIbxp9XgaBX9XfAqhlFnkIdLEoLgql6jKIFwbzt0DnO2UiGI= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 766bfd52-aa32-46ad-d6fd-08d6c74a6400 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2019 17:46:03.7637 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3604 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: replace a port lookup with ethdev API 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: , X-List-Received-Date: Mon, 22 Apr 2019 17:46:05 -0000 Thursday, April 18, 2019 3:15 AM, Thomas Monjalon: > Subject: [PATCH] net/mlx5: replace a port lookup with ethdev API >=20 > Looking for an ethdev port is better (and more efficient) with an ethdev = API > than an EAL one. >=20 > Signed-off-by: Thomas Monjalon Applied to next-net-mlx, thanks.=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A9F36A05D3 for ; Mon, 22 Apr 2019 19:46:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58C391B457; Mon, 22 Apr 2019 19:46:07 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) by dpdk.org (Postfix) with ESMTP id C736B1B44F for ; Mon, 22 Apr 2019 19:46:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6y29MFE/wjI3j9avhevwWBl81DMkhDbeaVrQF1mB/w=; b=bk7S2Fq9m3pneFtYm8pnEBxO7WnSkfu0OinGltAhmycbeX12VxWWlHfXPBM+g/S81Cf/DYIcpcoRT9VdJfeQ5eciJIPlZ8Mlki1hhBb3OXWc2DGE9Hk2eHosz3X/O3EwTNspD/edeKLIqpqp7yxNvuoHT8KeGTZ8xi2+2orZkHY= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3604.eurprd05.prod.outlook.com (52.133.46.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.12; Mon, 22 Apr 2019 17:46:03 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1813.017; Mon, 22 Apr 2019 17:46:03 +0000 From: Shahaf Shuler To: Thomas Monjalon , Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: replace a port lookup with ethdev API Thread-Index: AQHU9Xva73l7y+nVwkCm56t58M7rpKZIeLmA Date: Mon, 22 Apr 2019 17:46:03 +0000 Message-ID: References: <20190418001529.7528-1-thomas@monjalon.net> In-Reply-To: <20190418001529.7528-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 766bfd52-aa32-46ad-d6fd-08d6c74a6400 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3604; x-ms-traffictypediagnostic: AM0PR0502MB3604: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-forefront-prvs: 00159D1518 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39860400002)(136003)(376002)(346002)(199004)(189003)(8676002)(6246003)(81166006)(81156014)(229853002)(316002)(14454004)(66066001)(558084003)(6636002)(33656002)(4326008)(5660300002)(2906002)(53936002)(8936002)(110136005)(97736004)(256004)(478600001)(55016002)(486006)(25786009)(446003)(476003)(68736007)(102836004)(99286004)(6506007)(76176011)(6116002)(3846002)(7696005)(74316002)(9686003)(71190400001)(73956011)(186003)(26005)(52536014)(7736002)(305945005)(66446008)(64756008)(66556008)(66476007)(6436002)(66946007)(76116006)(71200400001)(86362001)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3604; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: thOMuynVPMK0M0GeBIjtL7pB8FXQOUyGdeoT3dkS2IArtnPHD3BLGvwOMpN4OUwkDXDbriR2d4zETH5cfH7+aIPANKCBybj37FTsgHaMGUtBnBIpW5SlFjsPmtPczgRwL2x+diGDFKOoovc1yluvK9S1D2S/TTe74uUz5XQeNqB5TEGQva7K1S0ONYtW7shHGAnMA9m2qYMKY01zdDM5l/3RmdUjMndCxtbksYnmQbdJhgFX0WoaRmK82zUB22aHeXntOvC/vHACmmrub2VvX+y0D/LJcQiFN0q4cJJgo4U5BZrxDvs0iZPvj+juEOelnNR2M5Lv30vH/uRHpOvY/BztDcSgETeqOcC69rml+eK6PQfT9czZ2OpWgeEvIbxp9XgaBX9XfAqhlFnkIdLEoLgql6jKIFwbzt0DnO2UiGI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 766bfd52-aa32-46ad-d6fd-08d6c74a6400 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2019 17:46:03.7637 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3604 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: replace a port lookup with ethdev API 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" Message-ID: <20190422174603.mzTqQJAgc_XBymybC7Yti7F1oOdFwu0Txn856lQdq5c@z> Thursday, April 18, 2019 3:15 AM, Thomas Monjalon: > Subject: [PATCH] net/mlx5: replace a port lookup with ethdev API >=20 > Looking for an ethdev port is better (and more efficient) with an ethdev = API > than an EAL one. >=20 > Signed-off-by: Thomas Monjalon Applied to next-net-mlx, thanks.=20