aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorRaed Salem <[email protected]>2020-04-24 12:45:05 -0700
committerSaeed Mahameed <[email protected]>2020-04-28 12:45:15 -0700
commit244faedfd4d8e8c8e9f3c628d29bb74196b49743 (patch)
tree9846736bab211981c70a1dc1e4e0fb01781b622f /lib/test_overflow.c
parentdff8e2d15283dd92582ddeec25ca86e4cf2618c7 (diff)
net/mlx5: Refactor imm_inval_pkey field in cqe struct
The imm_inval_pkey field can hold four different types of data, depends on the usage, the data could be one of the below: - Immediate field of the received message - Invalidate rkey - Pkey of the packet - Flow table metadata Current implementation doesn't reflect the intended usage of the field at usage time. Reflect the different types by replace this field with a union, modify code where this field is used to reflect its intended usage. Signed-off-by: Raed Salem <[email protected]> Reviewed-by: Huy Nguyen <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions