net/mlx5e: Pop cq outside mlx5e_get_cqe
authorAchiad Shochat <achiad@mellanox.com>
Tue, 23 Jun 2015 14:14:21 +0000 (17:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2015 07:42:41 +0000 (00:42 -0700)
commita1f5a1a87ac11486b95eebba7fa0127dd7090f65
tree8fc28e3894911fe8f1480bdccd73319a3aba7b75
parente33910548a4090671094336397ed383c252463ff
net/mlx5e: Pop cq outside mlx5e_get_cqe

Separate between mlx5e_get_cqe() and mlx5_cqwq_pop(), this helps for
better code readability and better CQ buffer management.

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>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c