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)
commitda1388d655292a11b5e9c011532e9ca83f77e1d3
treeb10a1b61a74de13307b7cf245d463e40acfb93be
parentf35f76ee76df008131bbe01a2297de0c55ee2297
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