liquidio: Simplified napi poll
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Fri, 16 Mar 2018 17:21:31 +0000 (10:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 19:03:26 +0000 (15:03 -0400)
commit5eb297a9a5aa5745b67ef1e7a399c0a7678d1d3f
tree05d287039cc8ef6a2cad56cca11a018df6fdd28f
parentb8124b53d1b98cf1af23f3584c774959e7634034
liquidio: Simplified napi poll

1) Moved interrupt enable related code from octeon_process_droq_poll_cmd()
   to separate function octeon_enable_irq().
2) Removed wrapper function octeon_process_droq_poll_cmd(), and directlyi
   using octeon_droq_process_poll_pkts().
3) Removed unused macros POLL_EVENT_XXX.

Signed-off-by: Intiyaz Basha <intiyaz.basha@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.h