diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-21 14:08:34 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 23:48:51 +0300 |
| commit | 171b7fb59f8da88f560323f46f810f404d768721 (patch) | |
| tree | 792d47b99d76beb9eea6ef901057b86d38e512c4 /include/linux/stackprotector.h | |
| parent | 69978da9bb7101911ff0f17d922914af701f092b (diff) | |
| download | linux-171b7fb59f8da88f560323f46f810f404d768721.tar.xz | |
net/mlx5: Initialize host PF host number earlier
Move host_number from esw->offloads to esw->esw_funcs as hpf_host_number
and initialize it during vports_init instead of offloads_enable. This
makes the host PF host number available earlier in the initialization
sequence, which is required for upcoming SF hardware table support for
satellite PFs.
Add a mlx5_esw_get_hpf_host_number() accessor to retrieve the stored
host number.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260521110843.367329-4-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
