numam-dpdk/drivers/net/mlx5/linux
Ophir Munk 73bf9235e9 net/mlx5: refactor statistics
mlx5 statistics are calculated by several methods:
1. In software when packets go through datapath.
2. Calling ioctl with ETHTOOL command (Linux specific).
3. Reading counters from SYSFS device path (Linux specific).

The Linux related functions are moved to file linux/mlx5_os.c.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-06-16 19:21:07 +02:00
..
meson.build net/mlx5: move Linux-specific functions 2020-06-16 19:21:07 +02:00
mlx5_ethdev_os.c net/mlx5: move Linux-specific functions 2020-06-16 19:21:07 +02:00
mlx5_os.c net/mlx5: refactor statistics 2020-06-16 19:21:07 +02:00
mlx5_os.h net/mlx5: add Linux-specific header file 2020-06-16 19:21:07 +02:00
mlx5_socket.c net/mlx5: move socket files in Linux directory 2020-06-16 19:21:07 +02:00