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

Shahaf Shuler shahafs at mellanox.com
Thu Jan 25 16:43:41 CET 2018


Tuesday, January 23, 2018 10:24 AM, Nélio Laranjeiro:
> 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>

Applied to next-net-mlx, thanks.

> 
> --
> Nélio Laranjeiro
> 6WIND


More information about the dev mailing list