Lines Matching refs:my_ets
235 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg() local
241 if (!my_ets) in bnxt_hwrm_queue_pfc_cfg()
247 (my_ets->prio_tc[pri] == i)) { in bnxt_hwrm_queue_pfc_cfg()
481 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_getets() local
485 if (!my_ets) { in bnxt_dcbnl_ieee_getets()
491 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_getets()
492 if (!my_ets) in bnxt_dcbnl_ieee_getets()
494 rc = bnxt_hwrm_queue_cos2bw_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
497 rc = bnxt_hwrm_queue_pri2cos_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
502 ets->cbs = my_ets->cbs; in bnxt_dcbnl_ieee_getets()
503 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in bnxt_dcbnl_ieee_getets()
504 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in bnxt_dcbnl_ieee_getets()
505 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in bnxt_dcbnl_ieee_getets()
506 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in bnxt_dcbnl_ieee_getets()
513 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_setets() local
523 if (!my_ets) { in bnxt_dcbnl_ieee_setets()
524 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_setets()
525 if (!my_ets) in bnxt_dcbnl_ieee_setets()
529 my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; in bnxt_dcbnl_ieee_setets()
530 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_setets()
541 memcpy(my_ets, ets, sizeof(*my_ets)); in bnxt_dcbnl_ieee_setets()