Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2acc7957 authored by Leon Romanovsky's avatar Leon Romanovsky
Browse files

net/mlx5: Add shared Q counter bits



Updated HW specification file with needed bits to allow
sharing of Q counters between DEVX contexts and kernel.

Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
parent 199fa087
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -85,6 +85,10 @@ enum {
	MLX5_OBJ_TYPE_UMEM = 0x0005,
};

enum {
	MLX5_SHARED_RESOURCE_UID = 0xffff,
};

enum {
	MLX5_CMD_OP_QUERY_HCA_CAP                 = 0x100,
	MLX5_CMD_OP_QUERY_ADAPTER                 = 0x101,
@@ -7567,7 +7571,7 @@ struct mlx5_ifc_alloc_q_counter_out_bits {

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

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