net/mlx5: Set uid as part of DCT commands
Set uid as part of DCT commands so that the firmware can manage the DCT object in a secured way. That will enable using a DCT that was created by verbs application to be used by the DEVX flow in case the uid is equal. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:

committed by
Leon Romanovsky

parent
a0d8c05431
commit
774ea6eea2
@@ -5918,7 +5918,7 @@ struct mlx5_ifc_drain_dct_out_bits {
|
||||
|
||||
struct mlx5_ifc_drain_dct_in_bits {
|
||||
u8 opcode[0x10];
|
||||
u8 reserved_at_10[0x10];
|
||||
u8 uid[0x10];
|
||||
|
||||
u8 reserved_at_20[0x10];
|
||||
u8 op_mod[0x10];
|
||||
@@ -6382,7 +6382,7 @@ struct mlx5_ifc_destroy_dct_out_bits {
|
||||
|
||||
struct mlx5_ifc_destroy_dct_in_bits {
|
||||
u8 opcode[0x10];
|
||||
u8 reserved_at_10[0x10];
|
||||
u8 uid[0x10];
|
||||
|
||||
u8 reserved_at_20[0x10];
|
||||
u8 op_mod[0x10];
|
||||
@@ -7138,7 +7138,7 @@ struct mlx5_ifc_create_dct_out_bits {
|
||||
|
||||
struct mlx5_ifc_create_dct_in_bits {
|
||||
u8 opcode[0x10];
|
||||
u8 reserved_at_10[0x10];
|
||||
u8 uid[0x10];
|
||||
|
||||
u8 reserved_at_20[0x10];
|
||||
u8 op_mod[0x10];
|
||||
|
Reference in New Issue
Block a user