Add mlx5 interface support for reading internal rq out of buffer counter as part of QUERY_VNIC_ENV command. The command is used by the driver to query vnic diagnostic statistics from FW.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1116,7 +1116,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { · 1115 unmodified lines | |||
| 1116 | u8 cache_line_128byte[0x1]; | 1116 | u8 cache_line_128byte[0x1]; |
| 1117 | u8 reserved_at_165[0x4]; | 1117 | u8 reserved_at_165[0x4]; |
| 1118 | u8 rts2rts_qp_counters_set_id[0x1]; | 1118 | u8 rts2rts_qp_counters_set_id[0x1]; |
| 1119 | u8 reserved_at_16a[0x5]; | 1119 | u8 reserved_at_16a[0x2]; |
| 1120 | u8 vnic_env_int_rq_oob[0x1]; | ||
| 1121 | u8 reserved_at_16d[0x2]; | ||
| 1120 | u8 qcam_reg[0x1]; | 1122 | u8 qcam_reg[0x1]; |
| 1121 | u8 gid_table_size[0x10]; | 1123 | u8 gid_table_size[0x10]; |
| 1122 | 1124 | ||
| @@ -2772,7 +2774,11 @@ struct mlx5_ifc_vnic_diagnostic_statistics_bits { · 1649 unmodified lines | |||
| 2772 | 2774 | ||
| 2773 | u8 transmit_discard_vport_down[0x40]; | 2775 | u8 transmit_discard_vport_down[0x40]; |
| 2774 | 2776 | ||
| 2775 | u8 reserved_at_140[0xec0]; | 2777 | u8 reserved_at_140[0xa0]; |
| 2778 | |||
| 2779 | u8 internal_rq_out_of_buffer[0x20]; | ||
| 2780 | |||
| 2781 | u8 reserved_at_200[0xe00]; | ||
| 2776 | }; | 2782 | }; |
| 2777 | 2783 | ||
| 2778 | struct mlx5_ifc_traffic_counter_bits { | 2784 | struct mlx5_ifc_traffic_counter_bits { |