Home
last modified time | relevance | path

Searched refs:dcb_state (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c955 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()
[all …]
Dbnx2x_dcb.h73 #define BNX2X_IS_ETS_ENABLED(bp) ((bp)->dcb_state == BNX2X_DCB_STATE_ON &&\
Dbnx2x.h1766 u16 dcb_state; member