liquidio: fix tx completions in napi poll
authorVSR Burru <veerasenareddy.burru@cavium.com>
Wed, 22 Mar 2017 18:54:50 +0000 (11:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:36:44 +0000 (19:36 -0700)
commit6069f3fbde03211f4b839e188eba2439f8b8326a
treea137a82e43fbcbfedba5dcd2aed1829f0910323f
parent031d4f1210a0401e938a27b229de2e9839311cde
liquidio: fix tx completions in napi poll

If there are no egress packets pending, then don't look for tx completions
in napi poll.  Also, fix broken tx queue wakeup logic.

Signed-off-by: VSR Burru <veerasenareddy.burru@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c