liquidio: Added ndo_get_vf_stats support
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Thu, 19 Apr 2018 06:18:28 +0000 (23:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 14:53:46 +0000 (10:53 -0400)
commitcea395ac868dee9104aa4fff640486cf4b3c464c
tree0516ac66e529316691ee90417e80bb4b6b88d923
parenteaa008d3b385e27095aef58e42bce22f4527258d
liquidio: Added ndo_get_vf_stats support

Added the ndo to gather VF statistics through the PF.

Collect VF statistics via mailbox from VF.

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/cn23xx_pf_device.c
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.h
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c
drivers/net/ethernet/cavium/liquidio/octeon_mailbox.h