/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 40 struct ieee_ets *ets) in mlx4_en_dcbnl_ieee_getets() argument 43 struct ieee_ets *my_ets = &priv->ets; in mlx4_en_dcbnl_ieee_getets() 49 ets->ets_cap = IEEE_8021QAZ_MAX_TCS; in mlx4_en_dcbnl_ieee_getets() 50 ets->cbs = my_ets->cbs; in mlx4_en_dcbnl_ieee_getets() 51 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in mlx4_en_dcbnl_ieee_getets() 52 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in mlx4_en_dcbnl_ieee_getets() 53 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in mlx4_en_dcbnl_ieee_getets() 58 static int mlx4_en_ets_validate(struct mlx4_en_priv *priv, struct ieee_ets *ets) in mlx4_en_ets_validate() argument 65 if (ets->prio_tc[i] > MLX4_EN_NUM_UP) { in mlx4_en_ets_validate() 67 i, ets->prio_tc[i]); in mlx4_en_ets_validate() [all …]
|
D | mlx4_en.h | 541 struct ieee_ets ets; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 45 struct dcbx_ets_feature *ets, 50 struct dcbx_ets_feature *ets); 78 bp->dcbx_port_params.ets.num_of_cos; in bnx2x_pfc_set() 81 for (i = 0; i < bp->dcbx_port_params.ets.num_of_cos; i++) in bnx2x_pfc_set() 88 bp->dcbx_port_params.ets.cos_params[i].pri_bitmask in bnx2x_pfc_set() 135 "local_mib.features.ets.enabled %x\n", features->ets.enabled); in bnx2x_dump_dcbx_drv_param() 139 DCBX_PG_BW_GET(features->ets.pg_bw_tbl, i)); in bnx2x_dump_dcbx_drv_param() 143 DCBX_PRI_PG_GET(features->ets.pri_pg_tbl, i)); in bnx2x_dump_dcbx_drv_param() 246 struct dcbx_ets_feature *ets, in bnx2x_dcbx_get_ets_feature() argument 252 bp->dcbx_port_params.ets.cos_params; in bnx2x_dcbx_get_ets_feature() [all …]
|
D | bnx2x_dcb.h | 63 struct bnx2x_dcbx_pg_params ets; member 72 (bp)->dcbx_port_params.ets.enabled)
|
D | bnx2x_hsi.h | 1833 struct dcbx_ets_feature ets; member
|
D | bnx2x_main.c | 9522 bnx2x_setup_tc(bp->dev, bp->dcbx_port_params.ets.num_of_cos); in bnx2x_sp_rtnl_task()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 516 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_getets() argument 521 ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_ieee_getets() 527 ets->cbs = my_ets->cbs; in ixgbe_dcbnl_ieee_getets() 528 memcpy(ets->tc_tx_bw, my_ets->tc_tx_bw, sizeof(ets->tc_tx_bw)); in ixgbe_dcbnl_ieee_getets() 529 memcpy(ets->tc_rx_bw, my_ets->tc_rx_bw, sizeof(ets->tc_rx_bw)); in ixgbe_dcbnl_ieee_getets() 530 memcpy(ets->tc_tsa, my_ets->tc_tsa, sizeof(ets->tc_tsa)); in ixgbe_dcbnl_ieee_getets() 531 memcpy(ets->prio_tc, my_ets->prio_tc, sizeof(ets->prio_tc)); in ixgbe_dcbnl_ieee_getets() 536 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_setets() argument 560 if (ets->prio_tc[i] > max_tc) in ixgbe_dcbnl_ieee_setets() 561 max_tc = ets->prio_tc[i]; in ixgbe_dcbnl_ieee_setets() [all …]
|
D | ixgbe_dcb.c | 323 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) in ixgbe_dcb_hw_ets() argument 334 switch (ets->tc_tsa[i]) { in ixgbe_dcb_hw_ets() 351 ixgbe_ieee_credits(ets->tc_tx_bw, refill, max, max_frame); in ixgbe_dcb_hw_ets() 353 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets()
|
D | ixgbe_dcb.h | 156 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
|
D | ixgbe_main.c | 6866 struct ieee_ets *ets = adapter->ixgbe_ieee_ets; in ixgbe_set_prio_tc_map() local 6874 else if (ets) in ixgbe_set_prio_tc_map() 6875 tc = ets->prio_tc[prio]; in ixgbe_set_prio_tc_map()
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_dbg.c | 1139 + sizeof(mpi_coredump->ets), in ql_core_dump() 1141 status = ql_get_ets_regs(qdev, &mpi_coredump->ets[0]); in ql_core_dump() 1315 + sizeof(mpi_coredump->ets), in ql_gen_reg_dump() 1317 status = ql_get_ets_regs(qdev, &mpi_coredump->ets[0]); in ql_gen_reg_dump()
|
D | qlge.h | 1775 u32 ets[8+2]; member 1919 u32 ets[ETS_REGS_DUMP_WORD_COUNT]; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb.h | 447 bool ets; member
|
D | igb_main.c | 1837 if (adapter->ets) in igb_reset() 2313 adapter->ets = true; in igb_probe() 2315 adapter->ets = false; in igb_probe() 2320 adapter->ets = false; in igb_probe()
|