sfc: only use RSS filters if we're using RSS
authorBert Kenward <bkenward@solarflare.com>
Fri, 11 Dec 2015 09:39:32 +0000 (09:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 05:26:18 +0000 (00:26 -0500)
commitf1c2ef40c6436f8fa287ff1be2c75c4932180b1f
tree7c31c572c9b386d480f45e793abd9e550f553784
parentf7fc6bc414121954c45c5f18b70e2a8717d0d5b4
sfc: only use RSS filters if we're using RSS

Without this, filter insertion on a VF would fail if only one channel
was in use. This would include the unicast station filter and therefore
no traffic would be received.

Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/farch.c