sfc: fix build without CONFIG_RFS_ACCEL
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 23 Nov 2019 17:45:42 +0000 (09:45 -0800)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 24 Nov 2019 22:44:09 +0000 (14:44 -0800)
commitab44081fef9b5d31ea5641494c9a379b0ebe1839
treecbd81d7cf201c8859378c01c57cb48c474966325
parent6f3aeb1ba05d41320e6cf9a60f698d9c4e44348e
sfc: fix build without CONFIG_RFS_ACCEL

The rfs members of struct efx_channel are under CONFIG_RFS_ACCEL.
Ethtool stats which access those need to be as well.

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: ca70bd423f10 ("sfc: add statistics for ARFS")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/sfc/ethtool.c