my_ets 235 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c struct ieee_ets *my_ets = bp->ieee_ets; my_ets 241 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!my_ets) my_ets 247 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c (my_ets->prio_tc[pri] == i)) { my_ets 481 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c struct ieee_ets *my_ets = bp->ieee_ets; my_ets 486 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!my_ets) { my_ets 490 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); my_ets 491 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!my_ets) my_ets 493 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c rc = bnxt_hwrm_queue_cos2bw_qcfg(bp, my_ets); my_ets 496 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c rc = bnxt_hwrm_queue_pri2cos_qcfg(bp, my_ets); my_ets 501 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c bp->ieee_ets = my_ets; my_ets 504 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c ets->cbs = my_ets->cbs; my_ets 505 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); my_ets 506 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); my_ets 507 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); my_ets 508 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); my_ets 511 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c kfree(my_ets); my_ets 518 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c struct ieee_ets *my_ets = bp->ieee_ets; my_ets 528 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!my_ets) { my_ets 529 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c my_ets = kzalloc(sizeof(*my_ets), GFP_KERNEL); my_ets 530 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!my_ets) my_ets 534 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c my_ets->prio_tc[i] = IEEE_8021QAZ_MAX_TCS; my_ets 535 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c bp->ieee_ets = my_ets; my_ets 546 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c memcpy(my_ets, ets, sizeof(*my_ets)); my_ets 491 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; my_ets 496 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (!my_ets) my_ets 499 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ets->cbs = my_ets->cbs; my_ets 500 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); my_ets 501 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); my_ets 502 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); my_ets 503 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); my_ets 291 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c struct ieee_ets *my_ets = &priv->ets; my_ets 293 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c if (!my_ets) my_ets 297 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c ets->cbs = my_ets->cbs; my_ets 298 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); my_ets 299 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); my_ets 300 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); my_ets 117 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; my_ets 138 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c err = mlxsw_sp_port_pg_destroy(mlxsw_sp_port, my_ets->prio_tc, my_ets 146 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port_pg_destroy(mlxsw_sp_port, ets->prio_tc, my_ets->prio_tc); my_ets 153 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; my_ets 193 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_sp_port_prio_tc_set(mlxsw_sp_port, i, my_ets->prio_tc[i]); my_ets 197 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c bool dwrr = my_ets->tc_tsa[i] == IEEE_8021QAZ_TSA_ETS; my_ets 198 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 weight = my_ets->tc_tx_bw[i];