]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 19:37:23 +0000 (14:37 -0500)
commit3c5a04a45985804d98ca7bfc5dcd008670880a13
treef08d2753461d4af60ea6d2edbfd6134114f6116f
parenta0fd83cab28a18469cc2c755f6afcdcb5e074c22
bnxt_en: Refactor code that determines RFS capability.

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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c