Skip to content

Commit 96cd2dd

Browse files
Lior Nahmansonrleon
authored andcommitted
net/mlx5: Add DCS caps & fields support
This fields will be needed when adding a support for DCS offload max_dci_stream_channels - maximum DCI stream channels supported per DCI. max_dci_errored_streams - maximum DCI error stream channels supported per DCI before a DCI move to error state. Signed-off-by: Lior Nahmanson <liorna@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
1 parent e73f0f0 commit 96cd2dd

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎include/linux/mlx5/mlx5_ifc.h‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,13 @@ struct mlx5_ifc_cmd_hca_cap_bits {
16511651
u8 max_geneve_tlv_option_data_len[0x5];
16521652
u8 reserved_at_570[0x10];
16531653

1654-
u8 reserved_at_580[0x33];
1654+
u8 reserved_at_580[0xb];
1655+
u8 log_max_dci_stream_channels[0x5];
1656+
u8 reserved_at_590[0x3];
1657+
u8 log_max_dci_errored_streams[0x5];
1658+
u8 reserved_at_598[0x8];
1659+
1660+
u8 reserved_at_5a0[0x13];
16551661
u8 log_max_dek[0x5];
16561662
u8 reserved_at_5b8[0x4];
16571663
u8 mini_cqe_resp_stride_index[0x1];
@@ -3020,10 +3026,12 @@ struct mlx5_ifc_qpc_bits {
30203026
u8 reserved_at_3c0[0x8];
30213027
u8 next_send_psn[0x18];
30223028

3023-
u8 reserved_at_3e0[0x8];
3029+
u8 reserved_at_3e0[0x3];
3030+
u8 log_num_dci_stream_channels[0x5];
30243031
u8 cqn_snd[0x18];
30253032

3026-
u8 reserved_at_400[0x8];
3033+
u8 reserved_at_400[0x3];
3034+
u8 log_num_dci_errored_streams[0x5];
30273035
u8 deth_sqpn[0x18];
30283036

30293037
u8 reserved_at_420[0x20];

0 commit comments

Comments
 (0)