]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: disable RSS when number of RXQs is reduced to 1 via set-channels
authorVasundhara Volam <vasundhara.volam@emulex.com>
Mon, 6 Jan 2014 07:32:23 +0000 (13:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 18:09:21 +0000 (13:09 -0500)
commite0e2dfc5c109c77f68695f0e84fcbde19176462a
treeb10a1b61a74de13307b7cf245d463e40acfb93be
parenta117279b9089a380c533f23b1c962883a45ce0ca
be2net: disable RSS when number of RXQs is reduced to 1 via set-channels

When *only* the default RXQ is used, the RSS policy must be disabled so
that all IP and no-IP traffic is placed into the default RXQ. If not,
IP traffic is dropped.

Also, issue the RSS_CONFIG cmd only if FW advertises RSS capability for
the interface.
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c