]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: disable RSS when unsupported
authorJon Cooper <jcooper@solarflare.com>
Mon, 25 Apr 2016 15:51:00 +0000 (16:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2016 18:21:15 +0000 (14:21 -0400)
commit7cf736c58c2124bae46aa75a49e02397723569a7
treec9c79e70d3877f602409e92d1849cbe986d862ba
parent2a5eb8879da8b22671bdf76447a6e9b22163c274
sfc: disable RSS when unsupported

When certain firmware variants are selected (via the sfboot utility) the
SFC7000 and SFC8000 series NICs don't support RSS. The driver still
tries (and fails) to insert filters with the RSS flag, and the NIC fails
to pass traffic.

When the firmware reports RSS_LIMITED suppress allocating a default RSS
context. The absence of an RSS context is picked up in filter insertion
and RSS flags are discarded.

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