summaryrefslogtreecommitdiff
path: root/doc/guides/nics/mlx5.rst
diff options
context:
space:
mode:
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>2018-07-10 18:04:58 +0200
committerShahaf Shuler <shahafs@mellanox.com>2018-07-11 15:37:29 +0200
commit6de569f5eca01fcbf0993ae2c1a859f02990dd60 (patch)
tree135c745b64adf688392708717875005d27bb05c8 /doc/guides/nics/mlx5.rst
parent116f90ad7e41afe4c6319f8ad68000716537cd06 (diff)
downloaddpdk-6de569f5eca01fcbf0993ae2c1a859f02990dd60.zip
dpdk-6de569f5eca01fcbf0993ae2c1a859f02990dd60.tar.gz
dpdk-6de569f5eca01fcbf0993ae2c1a859f02990dd60.tar.xz
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>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
-rw-r--r--doc/guides/nics/mlx5.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 7dd9c1c..0d0d217 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -392,6 +392,18 @@ Run-time configuration
Disabled by default.
+- ``representor`` parameter [list]
+
+ This parameter can be used to instantiate DPDK Ethernet devices from
+ existing port (or VF) representors configured on the device.
+
+ It is a standard parameter whose format is described in
+ :ref:`ethernet_device_standard_device_arguments`.
+
+ For instance, to probe port representors 0 through 2::
+
+ representor=[0-2]
+
Firmware configuration
~~~~~~~~~~~~~~~~~~~~~~