net/mlx5: add parameter for port representors
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Tue, 10 Jul 2018 16:04:58 +0000 (18:04 +0200)
committerShahaf Shuler <shahafs@mellanox.com>
Wed, 11 Jul 2018 13:37:29 +0000 (15:37 +0200)
commit6de569f5eca01fcbf0993ae2c1a859f02990dd60
tree135c745b64adf688392708717875005d27bb05c8
parent116f90ad7e41afe4c6319f8ad68000716537cd06
net/mlx5: add parameter for port representors

Prior to this patch, all port representors detected on a given device were
probed and Ethernet devices instantiated for each of them.

This patch adds support for the standard "representor" parameter, which
implies that port representors are not probed by default anymore, except
for the list provided through device arguments.

(Patch based on prior work from Yuanhan Liu)

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Reviewed-by: Xueming Li <xuemingl@mellanox.com>
doc/guides/nics/mlx5.rst
doc/guides/prog_guide/poll_mode_drv.rst
drivers/net/mlx5/mlx5.c