diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-06-23 17:14:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-24 10:42:39 +0300 |
commit | e33910548a4090671094336397ed383c252463ff (patch) | |
tree | a53bcecf95e0ce48559d4c49a5e5d5c07d31d574 /drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | |
parent | 8ca56ce39d161ae561735af0cc0b9abecf06181c (diff) | |
download | linux-e33910548a4090671094336397ed383c252463ff.tar.xz |
net/mlx5e: Remove mlx5e_cq.sqrq back-pointer
Use container_of() instead.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c b/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c index 088bc424157c..bf6b27b2fec2 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c @@ -65,7 +65,7 @@ int mlx5e_napi_poll(struct napi_struct *napi, int budget) busy |= mlx5e_poll_rx_cq(&c->rq.cq, budget); - busy |= mlx5e_post_rx_wqes(c->rq.cq.sqrq); + busy |= mlx5e_post_rx_wqes(&c->rq); if (busy) return budget; |