]> git.ipfire.org Git - thirdparty/linux.git/commit
Add other eswitch support
authorLeon Romanovsky <leon@kernel.org>
Sun, 9 Nov 2025 10:17:37 +0000 (05:17 -0500)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Nov 2025 10:17:37 +0000 (05:17 -0500)
commitd06ccdc9529235130798b519f6519103d83a7272
treea0cf7cc72d6b594a476114dc5cee32285989522e
parentcf274907901115d7cec71bc89fbfac8842ee57dd
parent583b4fe1c19d978bb787e0adf9ce469cb7f68455
Add other eswitch support

When the device in switchdev mode, the RDMA device manages all the
vports which belong to its representors, which can lead to a situation
where the PF that is used to manage the RDMA device isn't the native PF
of some of the vports it manages.

Add infrastructure to allow the master PF to manage all the hardware
resources for the vports under its management.
Whereas currently the only such resource is RDMA TRANSPORT steering
domains.

That is done by adding new FW argument other_eswitch which is passed by
the driver to the FW to allow the master PF to properly manage vports
belonging to other native PF.

Signed-off-by: Leon Romanovsky <leon@kernel.org>