]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Add new hardware RFS mode.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 29 Dec 2016 17:13:38 +0000 (12:13 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:35:20 +0000 (13:35 -0800)
commit0ebc708d30be7598aeb7bbb5a3a5f8ea0f3c12fc
tree770db7abda58f9f80db6e0494d0339c77d1bc6a6
parent6fa94762b2c1034661c29abe57b1dd4bb049adba
bnxt_en: Add new hardware RFS mode.

Orabug: 25645429

The existing hardware RFS mode uses one hardware RSS context block
per ring just to calculate the RSS hash.  This is very wasteful and
prevents VF functions from using it.  The new hardware mode shares
the same hardware RSS context for RSS placement and RFS steering.
This allows VFs to enable RFS.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit ae10ae740ad2befd92b6f5b2ab39220bce6e5da2)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h