net/mlx4_en: mlx4_en_netpoll() should schedule TX, not RX
authorEric Dumazet <edumazet@google.com>
Fri, 3 Jun 2016 18:52:49 +0000 (11:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:24:16 +0000 (22:24 -0700)
commit7d71e994cdef8055edf2d4dc1b7490e439602859
treee052a61f2cb7e07333bdbe18801b209d0fbea46a
parent23c731e830009a51a39a7a558179007235c84eb7
net/mlx4_en: mlx4_en_netpoll() should schedule TX, not RX

I am not sure mlx4_en_netpoll() is doing anything useful right now.

mlx4 has different NAPI structures for RX and TX, and netpoll only wants
to drain TX queues.

Lets schedule NAPI polls on TX, not RX.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Maciej Żenczykowski <maze@google.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c