Skip to content

Commit bb65e0c

Browse files
Alexei Lazarkuba-moo
authored andcommitted
net/mlx5: Add PPHCR to PCAM supported registers mask
Add the PPHCR bit to the port_access_reg_cap_mask field of PCAM register to indicate that the device supports the PPHCR register and the RS-FEC histogram feature. Signed-off-by: Alexei Lazar <alazar@nvidia.com> Reviewed-by: Yael Chemla <ychemla@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1761136182-918470-2-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent b228476 commit bb65e0c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

include/linux/mlx5/mlx5_ifc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10833,7 +10833,9 @@ struct mlx5_ifc_pcam_regs_5000_to_507f_bits {
1083310833
u8 port_access_reg_cap_mask_127_to_96[0x20];
1083410834
u8 port_access_reg_cap_mask_95_to_64[0x20];
1083510835

10836-
u8 port_access_reg_cap_mask_63_to_36[0x1c];
10836+
u8 port_access_reg_cap_mask_63[0x1];
10837+
u8 pphcr[0x1];
10838+
u8 port_access_reg_cap_mask_61_to_36[0x1a];
1083710839
u8 pplm[0x1];
1083810840
u8 port_access_reg_cap_mask_34_to_32[0x3];
1083910841

0 commit comments

Comments
 (0)