Home
last modified time | relevance | path

Searched refs:bw_pct (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c34 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx() argument
40 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
44 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx() argument
48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx()
52 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgrx() argument
57 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx()
62 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgrx() argument
66 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgrx()
121 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument
126 bw_pct, up_map); in qede_dcbnl_setpgtccfgtx()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c168 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument
177 if (bw_pct != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx()
179 bw_pct; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
186 u8 bw_pct) in ixgbe_dcbnl_set_pg_bwg_cfg_tx() argument
190 adapter->temp_dcb_cfg.bw_percentage[0][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
194 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument
203 if (bw_pct != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_rx()
205 bw_pct; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
212 u8 bw_pct) in ixgbe_dcbnl_set_pg_bwg_cfg_rx() argument
216 adapter->temp_dcb_cfg.bw_percentage[1][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c367 u8 prio_type, u8 bwg_id, u8 bw_pct, in i40e_dcbnl_set_pg_tc_cfg_tx() argument
391 tc, bwg_id, prio_type, bw_pct, up_map); in i40e_dcbnl_set_pg_tc_cfg_tx()
403 u8 bw_pct) in i40e_dcbnl_set_pg_bwg_cfg_tx() argument
415 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; in i40e_dcbnl_set_pg_bwg_cfg_tx()
417 pgid, bw_pct); in i40e_dcbnl_set_pg_bwg_cfg_tx()
436 u8 __always_unused bw_pct, in i40e_dcbnl_set_pg_tc_cfg_rx() argument
454 u8 bw_pct) in i40e_dcbnl_set_pg_bwg_cfg_rx() argument
475 u8 __always_unused *bw_pct, in i40e_dcbnl_get_pg_tc_cfg_tx() argument
501 u8 *bw_pct) in i40e_dcbnl_get_pg_bwg_cfg_tx() argument
512 *bw_pct = pf->hw.local_dcbx_config.etscfg.tcbwtable[pgid]; in i40e_dcbnl_get_pg_bwg_cfg_tx()
[all …]
/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c405 u8 __always_unused *bw_pct, in ice_dcbnl_get_pg_tc_cfg_tx() argument
436 u8 __always_unused bw_pct, u8 up_map) in ice_dcbnl_set_pg_tc_cfg_tx() argument
467 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) in ice_dcbnl_get_pg_bwg_cfg_tx() argument
479 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
481 pgid, *bw_pct); in ice_dcbnl_get_pg_bwg_cfg_tx()
491 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) in ice_dcbnl_set_pg_bwg_cfg_tx() argument
505 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
520 u8 __always_unused *bw_pct, in ice_dcbnl_get_pg_tc_cfg_rx() argument
552 u8 __always_unused bw_pct, in ice_dcbnl_set_pg_tc_cfg_rx() argument
568 u8 *bw_pct) in ice_dcbnl_get_pg_bwg_cfg_rx() argument
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1350 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument
1356 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx()
1370 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument
1375 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgtx()
1386 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx()
1387 DP_VERBOSE(hwfn, QED_MSG_DCB, "bw_pct = %d\n", *bw_pct); in qed_dcbnl_getpgbwgcfgtx()
1392 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument
1395 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx()
1399 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() argument
1402 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgrx()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1979 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
2006 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
2009 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2014 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2019 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
2027 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2034 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
2052 *up_map = *bw_pct = *prio_type = *pgid = 0; in bnx2x_dcbnl_get_pg_tccfg_tx()
2061 int pgid, u8 *bw_pct) in bnx2x_dcbnl_get_pg_bwgcfg_tx() argument
2066 *bw_pct = 0; in bnx2x_dcbnl_get_pg_bwgcfg_tx()
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c830 u8 *bw_pct) in qlcnic_dcb_get_pg_bwg_cfg_tx() argument
836 *bw_pct = 0; in qlcnic_dcb_get_pg_bwg_cfg_tx()
850 *bw_pct = pgcfg->total_bw_percent; in qlcnic_dcb_get_pg_bwg_cfg_tx()
1003 u8 *pgid, u8 *bw_pct, u8 *up_map) in qlcnic_dcb_get_pg_tc_cfg_rx() argument
1005 *prio_type = *pgid = *bw_pct = *up_map = 0; in qlcnic_dcb_get_pg_tc_cfg_rx()
1009 qlcnic_dcb_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) in qlcnic_dcb_get_pg_bwg_cfg_rx() argument
1011 *bw_pct = 0; in qlcnic_dcb_get_pg_bwg_cfg_rx()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c698 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument
719 int pgid, u8 bw_pct) in mlx5e_dcbnl_setpgbwgcfgtx() argument
730 cee_cfg->pg_bw_pct[pgid] = bw_pct; in mlx5e_dcbnl_setpgbwgcfgtx()
735 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument
752 *bw_pct = 0; in mlx5e_dcbnl_getpgtccfgtx()
760 int pgid, u8 *bw_pct) in mlx5e_dcbnl_getpgbwgcfgtx() argument
771 *bw_pct = ets.tc_tx_bw[pgid]; in mlx5e_dcbnl_getpgbwgcfgtx()
Dport.c772 u8 tc, u8 *bw_pct) in mlx5_query_port_tc_bw_alloc() argument
785 *bw_pct = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_bw_alloc()