diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-21 14:08:35 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 23:48:51 +0300 |
| commit | 7aed78522df2231cf7ad7c6ed4488479570c42e8 (patch) | |
| tree | 1a9dc244e7e7cb17a7a21fd16a39039be7f0a641 /include/linux/stackprotector.h | |
| parent | 171b7fb59f8da88f560323f46f810f404d768721 (diff) | |
| download | linux-7aed78522df2231cf7ad7c6ed4488479570c42e8.tar.xz | |
net/mlx5: Initialize satellite PF SF vports
Extend satellite PF (SPF) initialization to allocate SF vports for each
SPF. For each discovered SPF, query its SF capabilities, allocate SF
vports, and store the host_number for controller identification.
Add accessor APIs mlx5_esw_get_num_spfs(),
mlx5_esw_spf_get_host_number(), mlx5_esw_sf_max_spf_functions(), and
mlx5_esw_has_spf_sfs() for use by the SF hardware table in a subsequent
patch. Also extend mlx5_esw_offloads_controller_valid() to accept SPF
controllers in addition to the host PF controller.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260521110843.367329-5-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
