bnxt_en: Add BNXT_NEW_RM() macro.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 5 Aug 2018 20:51:53 +0000 (16:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:08:26 +0000 (17:08 -0700)
commitf1ca94de0d8760726dc615e8b4f9801f7ad9cf3b
tree2197ecf6f375d3560f90236599a081d0aa169c6c
parent6c5657d085ae8c13a8565b98e6a23fe68f0bede4
bnxt_en: Add BNXT_NEW_RM() macro.

The BNXT_FLAG_NEW_RM flag is checked a lot in the code to determine if
the new resource manager is in effect.  Define a macro to perform
this check.

Signed-off-by: Michael Chan <michael.chan@broadocm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c