Searched refs:my_ets (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_dcb.c | 252 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/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 291 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/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dcb.c | 94 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()
|