net/mlx5_core: Firmware commands to support flow counters
Getting packet/byte statistics on flows is done through flow counters. Implement the firmware commands to alloc, free and query flow counters. Signed-off-by:Amir Vadai <amirva@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/cmd.c 6 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/cmd.c
- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c 66 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
- drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h 5 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
- include/linux/mlx5/mlx5_ifc.h 96 additions, 3 deletionsinclude/linux/mlx5/mlx5_ifc.h
Loading
Please register or sign in to comment