Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c87 struct ieee_ets *my_ets = &priv->ets; in mlx4_en_dcbnl_ieee_getets() local
90 if (!my_ets) in mlx4_en_dcbnl_ieee_getets()
94 ets->cbs = my_ets->cbs; in mlx4_en_dcbnl_ieee_getets()
95 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets()
96 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx4_en_dcbnl_ieee_getets()
97 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in mlx4_en_dcbnl_ieee_getets()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c516 struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; in ixgbe_dcbnl_ieee_getets() local
521 if (!my_ets) in ixgbe_dcbnl_ieee_getets()
524 ets->cbs = my_ets->cbs; in ixgbe_dcbnl_ieee_getets()
525 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in ixgbe_dcbnl_ieee_getets()
526 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in ixgbe_dcbnl_ieee_getets()
527 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets()
528 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets()