net/sfc/base: guard Rx scale code with corresponding option
authorTom Millington <tmillington@solarflare.com>
Mon, 24 Sep 2018 13:50:27 +0000 (14:50 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commit161c9ab395d5984967c33446f2d699c68bc9dd29
tree383c253b8d7c04e50a18ff5858d5e27e79bc7bd1
parent0c9c1d9ec9a8d33291233815c696f3ff1ac433fd
net/sfc/base: guard Rx scale code with corresponding option

Previously only some of the code was guarded by this which caused
a build error when EFSYS_OPT_RX_SCALE is 0 (e.g. in manftest).

Signed-off-by: Tom Millington <tmillington@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/siena_nic.c