@@ -12501,17 +12501,6 @@ struct mlx5_ifc_affiliated_event_header_bits {
1250112501 u8 obj_id [0x20 ];
1250212502};
1250312503
12504- enum {
12505- MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY = BIT_ULL (0xc ),
12506- MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_IPSEC = BIT_ULL (0x13 ),
12507- MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_SAMPLER = BIT_ULL (0x20 ),
12508- MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_FLOW_METER_ASO = BIT_ULL (0x24 ),
12509- };
12510-
12511- enum {
12512- MLX5_HCA_CAP_2_GENERAL_OBJECT_TYPES_RDMA_CTRL = BIT_ULL (0x13 ),
12513- };
12514-
1251512504enum {
1251612505 MLX5_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY = 0xc ,
1251712506 MLX5_GENERAL_OBJECT_TYPES_IPSEC = 0x13 ,
@@ -12520,9 +12509,28 @@ enum {
1252012509 MLX5_GENERAL_OBJECT_TYPES_MACSEC = 0x27 ,
1252112510 MLX5_GENERAL_OBJECT_TYPES_INT_KEK = 0x47 ,
1252212511 MLX5_GENERAL_OBJECT_TYPES_RDMA_CTRL = 0x53 ,
12512+ MLX5_GENERAL_OBJECT_TYPES_PCIE_CONG_EVENT = 0x58 ,
1252312513 MLX5_GENERAL_OBJECT_TYPES_FLOW_TABLE_ALIAS = 0xff15 ,
1252412514};
1252512515
12516+ enum {
12517+ MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY =
12518+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_ENCRYPTION_KEY ),
12519+ MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_IPSEC =
12520+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_IPSEC ),
12521+ MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_SAMPLER =
12522+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_SAMPLER ),
12523+ MLX5_HCA_CAP_GENERAL_OBJECT_TYPES_FLOW_METER_ASO =
12524+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_FLOW_METER_ASO ),
12525+ };
12526+
12527+ enum {
12528+ MLX5_HCA_CAP_2_GENERAL_OBJECT_TYPES_RDMA_CTRL =
12529+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_RDMA_CTRL - 0x40 ),
12530+ MLX5_HCA_CAP_2_GENERAL_OBJECT_TYPES_PCIE_CONG_EVENT =
12531+ BIT_ULL (MLX5_GENERAL_OBJECT_TYPES_PCIE_CONG_EVENT - 0x40 ),
12532+ };
12533+
1252612534enum {
1252712535 MLX5_IPSEC_OBJECT_ICV_LEN_16B ,
1252812536};
@@ -13279,4 +13287,41 @@ struct mlx5_ifc_mrtcq_reg_bits {
1327913287 u8 reserved_at_80 [0x180 ];
1328013288};
1328113289
13290+ struct mlx5_ifc_pcie_cong_event_obj_bits {
13291+ u8 modify_select_field [0x40 ];
13292+
13293+ u8 inbound_event_en [0x1 ];
13294+ u8 outbound_event_en [0x1 ];
13295+ u8 reserved_at_42 [0x1e ];
13296+
13297+ u8 reserved_at_60 [0x1 ];
13298+ u8 inbound_cong_state [0x3 ];
13299+ u8 reserved_at_64 [0x1 ];
13300+ u8 outbound_cong_state [0x3 ];
13301+ u8 reserved_at_68 [0x18 ];
13302+
13303+ u8 inbound_cong_low_threshold [0x10 ];
13304+ u8 inbound_cong_high_threshold [0x10 ];
13305+
13306+ u8 outbound_cong_low_threshold [0x10 ];
13307+ u8 outbound_cong_high_threshold [0x10 ];
13308+
13309+ u8 reserved_at_e0 [0x340 ];
13310+ };
13311+
13312+ struct mlx5_ifc_pcie_cong_event_cmd_in_bits {
13313+ struct mlx5_ifc_general_obj_in_cmd_hdr_bits hdr ;
13314+ struct mlx5_ifc_pcie_cong_event_obj_bits cong_obj ;
13315+ };
13316+
13317+ struct mlx5_ifc_pcie_cong_event_cmd_out_bits {
13318+ struct mlx5_ifc_general_obj_out_cmd_hdr_bits hdr ;
13319+ struct mlx5_ifc_pcie_cong_event_obj_bits cong_obj ;
13320+ };
13321+
13322+ enum mlx5e_pcie_cong_event_mod_field {
13323+ MLX5_PCIE_CONG_EVENT_MOD_EVENT_EN = BIT (0 ),
13324+ MLX5_PCIE_CONG_EVENT_MOD_THRESH = BIT (2 ),
13325+ };
13326+
1328213327#endif /* MLX5_IFC_H */
0 commit comments