Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_eth_if.h218 u8 *pgid, u8 *bw_pct, u8 *up_map);
219 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
221 u8 *pgid, u8 *bw_pct, u8 *up_map);
222 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
234 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
236 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
237 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
238 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1352 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument
1358 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx()
1372 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument
1377 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgtx()
1388 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx()
1389 DP_VERBOSE(hwfn, QED_MSG_DCB, "bw_pct = %d\n", *bw_pct); in qed_dcbnl_getpgbwgcfgtx()
1394 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument
1397 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx()
1401 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() argument
1404 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgrx()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c696 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument
717 int pgid, u8 bw_pct) in mlx5e_dcbnl_setpgbwgcfgtx() argument
728 cee_cfg->pg_bw_pct[pgid] = bw_pct; in mlx5e_dcbnl_setpgbwgcfgtx()
733 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument
750 *bw_pct = 0; in mlx5e_dcbnl_getpgtccfgtx()
758 int pgid, u8 *bw_pct) in mlx5e_dcbnl_getpgbwgcfgtx() argument
769 *bw_pct = ets.tc_tx_bw[pgid]; in mlx5e_dcbnl_getpgbwgcfgtx()
Dport.c740 u8 tc, u8 *bw_pct) in mlx5_query_port_tc_bw_alloc() argument
753 *bw_pct = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_bw_alloc()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dport.h186 u8 tc, u8 *bw_pct);