Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c233 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg() local
238 if (!my_ets) in bnxt_hwrm_queue_pfc_cfg()
244 (my_ets->prio_tc[pri] == i)) { in bnxt_hwrm_queue_pfc_cfg()
474 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_getets() local
479 if (!my_ets) { in bnxt_dcbnl_ieee_getets()
483 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_getets()
484 if (!my_ets) in bnxt_dcbnl_ieee_getets()
486 rc = bnxt_hwrm_queue_cos2bw_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
489 rc = bnxt_hwrm_queue_pri2cos_qcfg(bp, my_ets); in bnxt_dcbnl_ieee_getets()
494 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_getets()
[all …]
/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()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c491 struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; in ixgbe_dcbnl_ieee_getets() local
496 if (!my_ets) in ixgbe_dcbnl_ieee_getets()
499 ets->cbs = my_ets->cbs; in ixgbe_dcbnl_ieee_getets()
500 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in ixgbe_dcbnl_ieee_getets()
501 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in ixgbe_dcbnl_ieee_getets()
502 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
503 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()
/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()