Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.c258 if (!my_ets) in bnxt_hwrm_queue_pfc_cfg()
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()
541 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_getets()
544 ets->cbs = my_ets->cbs; in bnxt_dcbnl_ieee_getets()
551 kfree(my_ets); in bnxt_dcbnl_ieee_getets()
568 if (!my_ets) { in bnxt_dcbnl_ieee_setets()
569 my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); in bnxt_dcbnl_ieee_setets()
570 if (!my_ets) in bnxt_dcbnl_ieee_setets()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()