Skip to content

Commit

Permalink
net/mlx5: Expose the ability to point to any UID from shared UID
Browse files Browse the repository at this point in the history
Expose shared_object_to_user_object_allowed, this capability
means an object created with shared UID can point to any UID.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
  • Loading branch information
mark-bloch authored and Saeed Mahameed committed Jul 17, 2022
1 parent cdcdce9 commit f484da8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,9 @@ enum {
};

struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_0[0x1f];
u8 reserved_at_0[0x10];
u8 shared_object_to_user_object_allowed[0x1];
u8 reserved_at_13[0xe];
u8 vhca_resource_manager[0x1];

u8 hca_cap_2[0x1];
Expand Down Expand Up @@ -8507,7 +8509,7 @@ struct mlx5_ifc_create_flow_table_out_bits {

struct mlx5_ifc_create_flow_table_in_bits {
u8 opcode[0x10];
u8 reserved_at_10[0x10];
u8 uid[0x10];

u8 reserved_at_20[0x10];
u8 op_mod[0x10];
Expand Down

0 comments on commit f484da8

Please sign in to comment.