net/mlx5: mlx5_ifc updates for embedded CPU SRIOV
authorDaniel Jurgens <danielj@nvidia.com>
Mon, 6 Mar 2023 22:27:21 +0000 (00:27 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 10 Jun 2023 01:40:50 +0000 (18:40 -0700)
commit93b36d0f2892357906f1058778c9188ff857baa1
tree3f6660650f309e68daae89d868edd1c7d4e5e908
parent18a92b05425493c3d131c47689443d7ae860c986
net/mlx5: mlx5_ifc updates for embedded CPU SRIOV

Add ec_vf_vport_base to HCA Capabilities 2. This indicates the base vport
of embedded CPU virtual functions that are connected to the eswitch.

Add ec_vf_function to query/set_hca_caps. If set this indicates
accessing a virtual function on the embedded CPU by function ID. This
should only be used with other_function set to 1.

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: Bodong Wang <bodong@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/mlx5_ifc.h