projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199fa08
)
net/mlx5: Add shared Q counter bits
author
Leon Romanovsky
<leonro@mellanox.com>
Thu, 6 Dec 2018 12:40:11 +0000
(14:40 +0200)
committer
Leon Romanovsky
<leonro@mellanox.com>
Wed, 19 Dec 2018 06:06:57 +0000
(08:06 +0200)
Updated HW specification file with needed bits to allow
sharing of Q counters between DEVX contexts and kernel.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h
patch
|
blob
|
history
diff --git
a/include/linux/mlx5/mlx5_ifc.h
b/include/linux/mlx5/mlx5_ifc.h
index
f48d7ee
..
bdb516b
100644
(file)
--- a/
include/linux/mlx5/mlx5_ifc.h
+++ b/
include/linux/mlx5/mlx5_ifc.h
@@
-86,6
+86,10
@@
enum {
};
enum {
+ MLX5_SHARED_RESOURCE_UID = 0xffff,
+};
+
+enum {
MLX5_CMD_OP_QUERY_HCA_CAP = 0x100,
MLX5_CMD_OP_QUERY_ADAPTER = 0x101,
MLX5_CMD_OP_INIT_HCA = 0x102,
@@
-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];