Skip to content

Commit 5f9ec78

Browse files
yishaihrleon
authored andcommitted
net/mlx5: Expose IFC bits for TPH
Expose IFC bits for the TPH functionality. Signed-off-by: Yishai Hadas <[email protected]> Reviewed-by: Edward Srouji <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Link: https://patch.msgid.link/38ea3a0d56551364214e8edf359c9c77c9a3b71b.1752752567.git.leon@kernel.org Signed-off-by: Leon Romanovsky <[email protected]>
1 parent 0a61ec9 commit 5f9ec78

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
18711871
u8 reserved_at_280[0x10];
18721872
u8 max_wqe_sz_sq[0x10];
18731873

1874-
u8 reserved_at_2a0[0xb];
1874+
u8 reserved_at_2a0[0x7];
1875+
u8 mkey_pcie_tph[0x1];
1876+
u8 reserved_at_2a8[0x3];
18751877
u8 shampo[0x1];
18761878
u8 reserved_at_2ac[0x4];
18771879
u8 max_wqe_sz_rq[0x10];
@@ -4418,6 +4420,10 @@ enum {
44184420
MLX5_MKC_ACCESS_MODE_CROSSING = 0x6,
44194421
};
44204422

4423+
enum {
4424+
MLX5_MKC_PCIE_TPH_NO_STEERING_TAG_INDEX = 0,
4425+
};
4426+
44214427
struct mlx5_ifc_mkc_bits {
44224428
u8 reserved_at_0[0x1];
44234429
u8 free[0x1];
@@ -4469,7 +4475,11 @@ struct mlx5_ifc_mkc_bits {
44694475
u8 relaxed_ordering_read[0x1];
44704476
u8 log_page_size[0x6];
44714477

4472-
u8 reserved_at_1e0[0x20];
4478+
u8 reserved_at_1e0[0x5];
4479+
u8 pcie_tph_en[0x1];
4480+
u8 pcie_tph_ph[0x2];
4481+
u8 pcie_tph_steering_tag_index[0x8];
4482+
u8 reserved_at_1f0[0x10];
44734483
};
44744484

44754485
struct mlx5_ifc_pkey_bits {

0 commit comments

Comments
 (0)