Lines Matching refs:dcb_state
816 bp->dcb_state = dcb_on; in bnx2x_dcbx_set_state()
819 bp->dcb_state = false; in bnx2x_dcbx_set_state()
911 bp->dcb_state, bp->port.pmf); in bnx2x_dcbx_init()
913 if (bp->dcb_state == BNX2X_DCB_STATE_ON && bp->port.pmf && in bnx2x_dcbx_init()
1597 return bp->dcb_state && bp->dcbx_mode_uset; in bnx2x_dcbnl_set_valid()
1603 DP(NETIF_MSG_LINK, "state = %d\n", bp->dcb_state); in bnx2x_dcbnl_get_state()
1604 return bp->dcb_state; in bnx2x_dcbnl_get_state()
1707 if (!bp->dcb_state || prio >= DCBX_MAX_NUM_PRI_PG_ENTRIES) in bnx2x_dcbnl_get_pg_tccfg_tx()
1721 if (!bp->dcb_state || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_get_pg_bwgcfg_tx()
1769 if (!bp->dcb_state || prio >= MAX_PFC_PRIORITIES) in bnx2x_dcbnl_get_pfc_cfg()
1806 if (bp->dcb_state) { in bnx2x_dcbnl_get_cap()
1849 if (bp->dcb_state) { in bnx2x_dcbnl_get_numtcs()
1879 if (!bp->dcb_state) in bnx2x_dcbnl_get_pfc_state()
2024 if (bp->dcb_state != BNX2X_DCB_STATE_ON) { in bnx2x_dcbnl_set_dcbx()
2047 if (bp->dcb_state) { in bnx2x_dcbnl_get_featcfg()