net/mlx5e: Add support to get ethtool flow rules
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 4 Jul 2016 14:23:10 +0000 (17:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 07:06:03 +0000 (00:06 -0700)
commitf913a72aa008777d4a92f82acafb17cce9aed4dc
tree904d0860110f0793788fd00a2be9dc3080590710
parent1174fce8d1410d13b665cb7693250cc789637b9a
net/mlx5e: Add support to get ethtool flow rules

Enhance the existing get_rxnfc callback:
1. Get flow rule of specific ID.
2. Get all flow rules.
3. Get number of rules.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c