Home
last modified time | relevance | path

Searched refs:my_ets (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c252 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg() local
258 if (!my_ets) in bnxt_hwrm_queue_pfc_cfg()
264 (my_ets->prio_tc[pri] == i)) { in bnxt_hwrm_queue_pfc_cfg()
521 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_getets() local
526 if (!my_ets) { in bnxt_dcbnl_ieee_getets()
530 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_getets()
531 if (!my_ets) in bnxt_dcbnl_ieee_getets()
533 rc = bnxt_hwrm_queue_cos2bw_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
536 rc = bnxt_hwrm_queue_pri2cos_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
541 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_getets()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c291 struct ieee_ets *my_ets = &priv->ets; in mlx4_en_dcbnl_ieee_getets() local
293 if (!my_ets) in mlx4_en_dcbnl_ieee_getets()
297 ets->cbs = my_ets->cbs; in mlx4_en_dcbnl_ieee_getets()
298 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets()
299 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx4_en_dcbnl_ieee_getets()
300 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in mlx4_en_dcbnl_ieee_getets()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c489 struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; in ixgbe_dcbnl_ieee_getets() local
494 if (!my_ets) in ixgbe_dcbnl_ieee_getets()
497 ets->cbs = my_ets->cbs; in ixgbe_dcbnl_ieee_getets()
498 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in ixgbe_dcbnl_ieee_getets()
499 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in ixgbe_dcbnl_ieee_getets()
500 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
501 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c94 struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; in __mlxsw_sp_dcbnl_ieee_setets() local
134 mlxsw_sp_port_prio_tc_set(mlxsw_sp_port, i, my_ets->prio_tc[i]); in __mlxsw_sp_dcbnl_ieee_setets()
138 bool dwrr = my_ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; in __mlxsw_sp_dcbnl_ieee_setets()
139 u8 weight = my_ets->tc_tx_bw[i]; in __mlxsw_sp_dcbnl_ieee_setets()