projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e642af
)
net/mlx5: correct ECE offset in query qp output
author
Changcheng Liu
<jerrliu@nvidia.com>
Tue, 26 Apr 2022 13:28:14 +0000
(21:28 +0800)
committer
Saeed Mahameed
<saeedm@nvidia.com>
Tue, 31 May 2022 20:40:54 +0000
(13:40 -0700)
ECE field should be after opt_param_mask in query qp output.
Fixes: 6b646a7e4af6 ("net/mlx5: Add ability to read and write ECE options")
Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.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 78b3d3465dd7ba605a98881b9cdfc2e2a7e567e9..2cd7d611e7b3c9c80269b90a45dee68be9d4e415 100644
(file)
--- a/
include/linux/mlx5/mlx5_ifc.h
+++ b/
include/linux/mlx5/mlx5_ifc.h
@@
-5176,12
+5176,11
@@
struct mlx5_ifc_query_qp_out_bits {
u8 syndrome[0x20];
- u8 reserved_at_40[0x20];
- u8 ece[0x20];
+ u8 reserved_at_40[0x40];
u8 opt_param_mask[0x20];
- u8
reserved_at_a0
[0x20];
+ u8
ece
[0x20];
struct mlx5_ifc_qpc_bits qpc;