From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Subject: Re: [PATCH] net/mlx5: use PCI BDF as the port name Date: Tue, 23 Jan 2018 09:23:48 +0100 Message-ID: <20180123082348.btfz5hbk72aitosk@laranjeiro-vm.dev.6wind.com> References: <1516613406-21257-1-git-send-email-yliu@fridaylinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, Adrien Mazarguil , Yongseok Koh To: Yuanhan Liu Return-path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 71D1D727A for ; Tue, 23 Jan 2018 09:23:51 +0100 (CET) Received: by mail-wr0-f169.google.com with SMTP id d9so11497520wre.3 for ; Tue, 23 Jan 2018 00:23:51 -0800 (PST) Content-Disposition: inline In-Reply-To: <1516613406-21257-1-git-send-email-yliu@fridaylinux.org> 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 Yuanhan, 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. Seems only ixgbe, sfc, szedata2 use it whereas ark, bnxt, mlx4, mlx5, mrvl, softnic don't. Why not addressing all drivers at once? > Signed-off-by: Yuanhan Liu Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND