Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c166 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument
175 if (bw_pct != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx()
177 bw_pct; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
184 u8 bw_pct) in ixgbe_dcbnl_set_pg_bwg_cfg_tx() argument
188 adapter->temp_dcb_cfg.bw_percentage[0][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
192 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument
201 if (bw_pct != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_rx()
203 bw_pct; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
210 u8 bw_pct) in ixgbe_dcbnl_set_pg_bwg_cfg_rx() argument
214 adapter->temp_dcb_cfg.bw_percentage[1][bwg_id] = bw_pct; in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
[all …]
/linux-6.6.21/include/linux/qed/
Dqed_eth_if.h207 u8 *pgid, u8 *bw_pct, u8 *up_map);
208 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
210 u8 *pgid, u8 *bw_pct, u8 *up_map);
211 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
223 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
225 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
226 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
227 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c435 u8 __always_unused *bw_pct, in ice_dcbnl_get_pg_tc_cfg_tx() argument
466 u8 __always_unused bw_pct, u8 up_map) in ice_dcbnl_set_pg_tc_cfg_tx() argument
502 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
514 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
516 pgid, *bw_pct); in ice_dcbnl_get_pg_bwg_cfg_tx()
526 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
545 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
560 u8 __always_unused *bw_pct, in ice_dcbnl_get_pg_tc_cfg_rx() argument
592 u8 __always_unused bw_pct, in ice_dcbnl_set_pg_tc_cfg_rx() argument
608 u8 *bw_pct) in ice_dcbnl_get_pg_bwg_cfg_rx() argument
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/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.c767 u8 tc, u8 *bw_pct) in mlx5_query_port_tc_bw_alloc() argument
780 *bw_pct = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_bw_alloc()
/linux-6.6.21/include/linux/mlx5/
Dport.h200 u8 tc, u8 *bw_pct);