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

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

Completed in 117 milliseconds