From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0051.outbound.protection.outlook.com [104.47.1.51]) by dpdk.org (Postfix) with ESMTP id 3780A1B01C for ; Thu, 25 Jan 2018 16:43:44 +0100 (CET) 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; bh=ORXU5635jT5yYOeuv/QG1u67xVcDCdYnoQ82OGfUp7Q=; b=NaMYE+WbAFVajCMQegutaSv7KA1dsJd6LUZifc9nuY7rW+VznQ3Yh8IVkC9qdM1+tpVamLcVs/+ap7QKTWR3dyiQUnwL1Wj6jbaiaHTiMKKPlgtSEykHMzKjpwtJ8FwO7hi+sAA9jqhVB15UvSiet/ea/1uyfLq6HaAylUuQ2fI= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB3502.eurprd05.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Thu, 25 Jan 2018 15:43:42 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::789c:3f06:bb88:e29c]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::789c:3f06:bb88:e29c%13]) with mapi id 15.20.0428.019; Thu, 25 Jan 2018 15:43:41 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Yuanhan Liu" CC: "dev@dpdk.org" , Adrien Mazarguil , Yongseok Koh Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: use PCI BDF as the port name Thread-Index: AQHTk2OeAvBGPMUH1kO93/8/HEHrvKOBIDQAgAOfdbA= Date: Thu, 25 Jan 2018 15:43:41 +0000 Message-ID: References: <1516613406-21257-1-git-send-email-yliu@fridaylinux.org> <20180123082348.btfz5hbk72aitosk@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180123082348.btfz5hbk72aitosk@laranjeiro-vm.dev.6wind.com> 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.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3502; 7:1sHpBtzS07npugcZglylE2NDihC1I2es/r7ciLASX/BDVuw3Va+/TZSkXTalFW0YdFfFfIloIjiKbbhBEDrjYdK/To7DaCzfx5cXJGlltH57Lkw4HN0GEQgF/qE9tFcZgeYUzYuUBtjqQtndFfOW70HbaurOYqEQP60WR2SSJ/WJjTudjAn24/fh7z+PKIDBuk+ud1Kib1SnahUFItzdq2NjjKlCb9BFlMjocrQgVCIPkgkH2g5NzJz28/eWj+Bx x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8d4d4d8c-cb68-4183-9621-08d5640a691e x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:VI1PR05MB3502; x-ms-traffictypediagnostic: VI1PR05MB3502: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231023)(2400081)(944501161)(6055026)(6041288)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:VI1PR05MB3502; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB3502; x-forefront-prvs: 0563F2E8B7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39380400002)(39860400002)(346002)(376002)(189003)(199004)(102836004)(25786009)(6506007)(3660700001)(3280700002)(5660300001)(4326008)(26005)(305945005)(7736002)(74316002)(7696005)(107886003)(106356001)(33656002)(55016002)(6436002)(2900100001)(105586002)(76176011)(229853002)(6246003)(53936002)(9686003)(2950100002)(68736007)(81156014)(8676002)(81166006)(5250100002)(14454004)(478600001)(86362001)(2906002)(97736004)(110136005)(54906003)(99286004)(3846002)(66066001)(6116002)(316002)(8936002)(186003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3502; H:VI1PR05MB3149.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 9qYZ+/JQC1B4XHMiKaXLfvFFLZtCB2zWUqNHJzXPEkmzEY/nknac8y3Easy7WZbNw1Wzsdli1eN939v7rda40A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d4d4d8c-cb68-4183-9621-08d5640a691e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2018 15:43:41.7449 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3502 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: use PCI BDF as the port name 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: Thu, 25 Jan 2018 15:43:44 -0000 Tuesday, January 23, 2018 10:24 AM, N=E9lio Laranjeiro: > Hi Yuanhan, >=20 > On Mon, Jan 22, 2018 at 05:30:06PM +0800, Yuanhan Liu wrote: > > It is suggested to use PCI BDF to identify a port for port addition in > > OVS-DPDK. While mlx5 has its own naming style: name it by ib dev name. > > This breaks the typical OVS DPDK use case and brings more puzzle to > > the end users. > > > > To fix it, this patch changes it to use PCI BDF as the name, too. > > Also, a postfix " port %u" is added, just in case their might be more > > than 1 port assoicated with a PCI device. >=20 > Seems only ixgbe, sfc, szedata2 use it whereas ark, bnxt, mlx4, mlx5, mrv= l, > softnic don't. >=20 > Why not addressing all drivers at once? >=20 > > Signed-off-by: Yuanhan Liu > Acked-by: Nelio Laranjeiro Applied to next-net-mlx, thanks. >=20 > -- > N=E9lio Laranjeiro > 6WIND