diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-18 10:13:49 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-05-21 12:11:59 +0200 |
| commit | 920fdc4d21e3bbab10f4abe9294933c5eac38835 (patch) | |
| tree | a91fce0538f1e1de7410724e174fc1f6ebdb2a50 /scripts/patch-kernel | |
| parent | 830d8771ae3c7bc90a62dde76a6556e612529fbc (diff) | |
net/mlx5: Use helper to parse host PF info
Add a helper mlx5_esw_get_host_pf_info() to retrieve host PF data from
the query_esw_functions command output, so callers no longer need to
parse the layout to obtain the required information.
Convert all callers of mlx5_esw_query_functions() to use the new helper,
preparing for upcoming support of the new op_mod that returns data in
the network_function_params layout.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260518071356.345723-2-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
