[dpdk-dev] [PATCH] net/mlx5: use PCI BDF as the port name

Nélio Laranjeiro nelio.laranjeiro at 6wind.com
Tue Jan 23 09:23:48 CET 2018


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 <yliu at fridaylinux.org>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list