net/mlx5_core: Firmware commands to support flow counters
authorAmir Vadai <amirva@mellanox.com>
Fri, 13 May 2016 12:55:39 +0000 (12:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:43:51 +0000 (13:43 -0400)
commit9dc0b289c4c09bc1a92bdcc055cb37af9b72eb28
tree2cfc535ac1d6ec859ed59b6a9112701c5d79d9b9
parent42ca502e179d0654ef441333a9d0f35c948734f3
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>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
include/linux/mlx5/mlx5_ifc.h