Lines Matching refs:dcb_state
955 bp->dcb_state = dcb_on; in bnx2x_dcbx_set_state()
958 bp->dcb_state = false; in bnx2x_dcbx_set_state()
1040 bp->dcb_state, bp->port.pmf); in bnx2x_dcbx_init()
1042 if (bp->dcb_state == BNX2X_DCB_STATE_ON && in bnx2x_dcbx_init()
1937 return bp->dcb_state && bp->dcbx_mode_uset; in bnx2x_dcbnl_set_valid()
1943 DP(BNX2X_MSG_DCB, "state = %d\n", bp->dcb_state); in bnx2x_dcbnl_get_state()
1944 return bp->dcb_state; in bnx2x_dcbnl_get_state()
2054 if (!bp->dcb_state || prio >= DCBX_MAX_NUM_PRI_PG_ENTRIES) in bnx2x_dcbnl_get_pg_tccfg_tx()
2068 if (!bp->dcb_state || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_get_pg_bwgcfg_tx()
2118 if (!bp->dcb_state || prio >= MAX_PFC_PRIORITIES) in bnx2x_dcbnl_get_pfc_cfg()
2154 if (bp->dcb_state) { in bnx2x_dcbnl_get_cap()
2201 if (bp->dcb_state) { in bnx2x_dcbnl_get_numtcs()
2236 if (!bp->dcb_state) in bnx2x_dcbnl_get_pfc_state()
2386 if (bp->dcb_state != BNX2X_DCB_STATE_ON) { in bnx2x_dcbnl_set_dcbx()
2408 if (bp->dcb_state) { in bnx2x_dcbnl_get_featcfg()