net/mlx4_en: use napi_complete_done() return value
authorEric Dumazet <edumazet@google.com>
Tue, 15 Nov 2016 18:15:14 +0000 (10:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 18:40:58 +0000 (13:40 -0500)
commit2e713283751f494596655d9125c168aeb913f71d
tree0677ec91d7cbcdcbea3b5a38f746c2b707f0de3d
parent364b6055738b4c752c30ccaaf25c624e69d76195
net/mlx4_en: use napi_complete_done() return value

Do not rearm interrupts if we are busy polling.

mlx4 uses separate CQ for TX and RX, so number of TX interrupts
does not change, unfortunately.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Adam Belay <abelay@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Yuval Mintz <Yuval.Mintz@cavium.com>
Cc: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c