summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-09-23 13:38:30 +0300
committerJakub Kicinski <kuba@kernel.org>2026-09-28 17:17:14 -0700
commita5bfbdfebd5353a4113539342e800610606a8153 (patch)
treeddc941342074e44bb658154cc7f1652b22ef5f84 /tools/lib/python
parentdd655b1e93c149bc0a42c1432870898475f8c4cf (diff)
net/mlx5: E-switch, disable host functions for a non PF e-switch manager
mlx5_esw_host_functions_enabled() only treated host functions as disabled for an ECPF manager. To support a non PF acting as an e-switch manager, add a check for a non PF e-switch manager that treats host functions as disabled. This will avoid allocating a host-PF vport in mlx5_esw_vports_init(). With host functions disabled for non PF, its e-switch is the expected manager + uplink only. Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Akiva Goldberger <agoldberger@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260923103830.1183-14-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions