Commit 0bd2e6fc authored by Or Har-Toov's avatar Or Har-Toov Committed by Saeed Mahameed

net/mlx5: Expose bits for local loopback counter

Add needed HW bits for querying local loopback counter and the
HCA capability for it.
Signed-off-by: default avatarOr Har-Toov <ohartoov@nvidia.com>
Reviewed-by: default avatarAvihai Horon <avihaih@nvidia.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 559f4c32
...@@ -1758,7 +1758,7 @@ struct mlx5_ifc_cmd_hca_cap_bits { ...@@ -1758,7 +1758,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_330[0x6]; u8 reserved_at_330[0x6];
u8 pci_sync_for_fw_update_with_driver_unload[0x1]; u8 pci_sync_for_fw_update_with_driver_unload[0x1];
u8 vnic_env_cnt_steering_fail[0x1]; u8 vnic_env_cnt_steering_fail[0x1];
u8 reserved_at_338[0x1]; u8 vport_counter_local_loopback[0x1];
u8 q_counter_aggregation[0x1]; u8 q_counter_aggregation[0x1];
u8 q_counter_other_vport[0x1]; u8 q_counter_other_vport[0x1];
u8 log_max_xrcd[0x5]; u8 log_max_xrcd[0x5];
...@@ -5190,7 +5190,9 @@ struct mlx5_ifc_query_vport_counter_out_bits { ...@@ -5190,7 +5190,9 @@ struct mlx5_ifc_query_vport_counter_out_bits {
struct mlx5_ifc_traffic_counter_bits transmitted_eth_multicast; struct mlx5_ifc_traffic_counter_bits transmitted_eth_multicast;
u8 reserved_at_680[0xa00]; struct mlx5_ifc_traffic_counter_bits local_loopback;
u8 reserved_at_700[0x980];
}; };
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment