sfc: check RSS is active for filter insert
authorBert Kenward <bkenward@solarflare.com>
Tue, 17 Apr 2018 12:32:39 +0000 (13:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2018 19:07:21 +0000 (15:07 -0400)
commit89bda97b445bacab68e71507cc08ccacd6694474
tree8d3a80ef9ce10bce4d733ec254573b0d21e12778
parent7ce2367254e84753bceb07327aaf5c953cfce117
sfc: check RSS is active for filter insert

For some firmware variants - specifically 'capture packed stream' - RSS
filters are not valid. We must check if RSS is actually active rather
than merely enabled.

Fixes: 42356d9a137b ("sfc: support RSS spreading of ethtool ntuple filters")
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c