MLX5 LINUX COUNTERS vs MLX5 ETHTOOL COUNTERS

I was going through two pages regarding MLX5 LINUX COUNTERS and MLX5 ETHTOOL COUNTERS.

1)ESPCommunity

2)/understanding-mlx5-ethtool-counters

Can anyone tell what are the differences these two counters (MLX5 LINUX COUNTERS vs MLX5 ETHTOOL COUNTERS)?

Hello,

The difference is that under this page:
https://enterprise-support.nvidia.com/s/article/understanding-mlx5-linux-counters-and-status-parameters
You can also find the hw_counters which is relevant for RDMA traffic only (Ethernet and Infiniband), and these counters are not present under ethtool because these are the kernel bypass counters.

Best Regards,
Viki