]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Refactor code that determines RFS capability.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 29 Dec 2016 17:13:37 +0000 (12:13 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 21:35:19 +0000 (13:35 -0800)
commit6fa94762b2c1034661c29abe57b1dd4bb049adba
tree295aa10dff730497ae8dba63fc8628501be4bac0
parentffc015f7fe9b22ae70673f1bb0293bfc9b6e25dc
bnxt_en: Refactor code that determines RFS capability.

Orabug: 25645429

Add function bnxt_rfs_supported() that determines if the chip supports
RFS.  Refactor the existing function bnxt_rfs_capable() that determines
if run-time conditions support RFS.

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