diff options
author | Raed Salem <raeds@mellanox.com> | 2020-04-24 22:45:05 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-04-28 22:45:15 +0300 |
commit | 244faedfd4d8e8c8e9f3c628d29bb74196b49743 (patch) | |
tree | 9846736bab211981c70a1dc1e4e0fb01781b622f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dff8e2d15283dd92582ddeec25ca86e4cf2618c7 (diff) | |
download | linux-244faedfd4d8e8c8e9f3c628d29bb74196b49743.tar.xz |
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 <raeds@mellanox.com>
Reviewed-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions