Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c33 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx() argument
39 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
43 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx() argument
47 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx()
51 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgrx() argument
56 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx()
61 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgrx() argument
65 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgrx()
120 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument
125 bw_pct, up_map); in qede_dcbnl_setpgtccfgtx()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/include/linux/qed/
Dqed_eth_if.h244 u8 *pgid, u8 *bw_pct, u8 *up_map);
245 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
247 u8 *pgid, u8 *bw_pct, u8 *up_map);
248 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
260 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
262 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
263 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
264 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1377 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument
1383 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx()
1397 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument
1402 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgtx()
1413 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx()
1414 DP_VERBOSE(hwfn, QED_MSG_DCB, "bw_pct = %d\n", *bw_pct); in qed_dcbnl_getpgbwgcfgtx()
1419 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument
1422 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx()
1426 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() argument
1429 *bw_pct = 0; in qed_dcbnl_getpgbwgcfgrx()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1980 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
2007 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
2010 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2015 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2020 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
2028 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2035 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
2053 *up_map = *bw_pct = *prio_type = *pgid = 0; in bnx2x_dcbnl_get_pg_tccfg_tx()
2062 int pgid, u8 *bw_pct) in bnx2x_dcbnl_get_pg_bwgcfg_tx() argument
2067 *bw_pct = 0; in bnx2x_dcbnl_get_pg_bwgcfg_tx()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c688 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument
709 int pgid, u8 bw_pct) in mlx5e_dcbnl_setpgbwgcfgtx() argument
720 cee_cfg->pg_bw_pct[pgid] = bw_pct; in mlx5e_dcbnl_setpgbwgcfgtx()
725 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument
742 *bw_pct = 0; in mlx5e_dcbnl_getpgtccfgtx()
750 int pgid, u8 *bw_pct) in mlx5e_dcbnl_getpgbwgcfgtx() argument
761 *bw_pct = ets.tc_tx_bw[pgid]; in mlx5e_dcbnl_getpgbwgcfgtx()
Dport.c694 u8 tc, u8 *bw_pct) in mlx5_query_port_tc_bw_alloc() argument
707 *bw_pct = MLX5_GET(ets_tcn_config_reg, ets_tcn_conf, in mlx5_query_port_tc_bw_alloc()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c831 u8 *bw_pct) in qlcnic_dcb_get_pg_bwg_cfg_tx() argument
837 *bw_pct = 0; in qlcnic_dcb_get_pg_bwg_cfg_tx()
851 *bw_pct = pgcfg->total_bw_percent; in qlcnic_dcb_get_pg_bwg_cfg_tx()
1004 u8 *pgid, u8 *bw_pct, u8 *up_map) in qlcnic_dcb_get_pg_tc_cfg_rx() argument
1006 *prio_type = *pgid = *bw_pct = *up_map = 0; in qlcnic_dcb_get_pg_tc_cfg_rx()
1010 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
1012 *bw_pct = 0; in qlcnic_dcb_get_pg_bwg_cfg_rx()
/Linux-v5.4/include/linux/mlx5/
Dport.h176 u8 tc, u8 *bw_pct);