]> git.droids-corp.org - dpdk.git/commit
net/mlx5: support socket direct mode bonding
authorRongwei Liu <rongweil@nvidia.com>
Tue, 26 Oct 2021 08:48:30 +0000 (11:48 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 26 Oct 2021 11:24:20 +0000 (13:24 +0200)
commit7299ab682294a9e45508202fc3b27d87428fd007
tree8c9c49703452f53d2b4768ca6d001254df5eae0e
parent4c74ad3e16d41c0b61e3b4217f2ffc9a70a1d0d1
net/mlx5: support socket direct mode bonding

In socket direct mode, it's possible to bind any two (maybe four
in future) PCIe devices with IDs like xxxx:xx:xx.x and
yyyy:yy:yy.y. Bonding member interfaces are unnecessary to have
the same PCIe domain/bus/device ID anymore,

Kernel driver uses "system_image_guid" to identify if devices can
be bound together or not. Sysfs "phys_switch_id" is used to get
"system_image_guid" of each network interface.

OFED 5.4+ is required to support "phys_switch_id".

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
doc/guides/nics/mlx5.rst
doc/guides/rel_notes/release_21_11.rst
drivers/net/mlx5/linux/mlx5_os.c