liquidio: refactor interrupt moderation code
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>
Tue, 28 Mar 2017 19:14:06 +0000 (12:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 05:22:03 +0000 (22:22 -0700)
commit50c0add534d2f56547201c9f566ad4b4f40c3049
tree6eeb2b9fd59034b513d27c9c347efe130c543ba0
parent4333d619f9e30592426bc1315243fa0754e62c39
liquidio: refactor interrupt moderation code

Refactor interrupt moderation code for flexibility because parameters are
different for 10G and 25G cards.  Currently parameters (for 10G only) come
from macros compiled-in to the PF and VF drivers; fix it so that parameters
suitable for the card (10G or 25G) come from the NIC firmware via response
to a command.

Also bump up driver version to 1.5.1 to match newer NIC firmware version.

Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@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_ethtool.c
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
drivers/net/ethernet/cavium/liquidio/liquidio_common.h
drivers/net/ethernet/cavium/liquidio/octeon_device.h