net/mlx5e: Remove rq references in mlx5e_rx_am
authorAndy Gospodarek <gospo@broadcom.com>
Tue, 9 Jan 2018 21:06:14 +0000 (16:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:27:35 +0000 (15:27 -0500)
commit138968e9979f0c4afb7cc86b8ddca8bf46911771
treeb81cddb6879f2a523034899f39ba7f2cbe5e1e6b
parentf58ee099f32e3bfc19f1cf308c7cd89bb82467fe
net/mlx5e: Remove rq references in mlx5e_rx_am

This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Acked-by: Tal Gilboa <talgi@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_dim.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c