Lines Matching refs:my_ets
244 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg() local
250 if (!my_ets) in bnxt_hwrm_queue_pfc_cfg()
256 (my_ets->prio_tc[pri] == i)) { in bnxt_hwrm_queue_pfc_cfg()
513 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_getets() local
518 if (!my_ets) { in bnxt_dcbnl_ieee_getets()
522 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_getets()
523 if (!my_ets) in bnxt_dcbnl_ieee_getets()
525 rc = bnxt_hwrm_queue_cos2bw_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
528 rc = bnxt_hwrm_queue_pri2cos_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
533 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_getets()
536 ets->cbs = my_ets->cbs; in bnxt_dcbnl_ieee_getets()
537 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in bnxt_dcbnl_ieee_getets()
538 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in bnxt_dcbnl_ieee_getets()
539 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in bnxt_dcbnl_ieee_getets()
540 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in bnxt_dcbnl_ieee_getets()
543 kfree(my_ets); in bnxt_dcbnl_ieee_getets()
550 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_setets() local
560 if (!my_ets) { in bnxt_dcbnl_ieee_setets()
561 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_setets()
562 if (!my_ets) in bnxt_dcbnl_ieee_setets()
566 my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; in bnxt_dcbnl_ieee_setets()
567 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_setets()
578 memcpy(my_ets, ets, sizeof(*my_ets)); in bnxt_dcbnl_ieee_setets()