]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bd903550676f62a222aa9469dc84c9c1b580d91
tree8d3a80ef9ce10bce4d733ec254573b0d21e12778
parent6fe40dee41aa75b912375083018fdd1ffb6395a7
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: d8b977c20203 ("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