]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7cb01bff9c632da6f660b9d223424b4468beed47
treecbd81d7cf201c8859378c01c57cb48c474966325
parentc4c17df97c458e999b70a410737abdc2fcaa58ce
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: 71351f872730 ("sfc: add statistics for ARFS")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/sfc/ethtool.c