/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 53 if (dst->path[tx].bwg_id != src->path[tx].bwg_id) { in ixgbe_copy_dcb_cfg() 54 dst->path[tx].bwg_id = src->path[tx].bwg_id; in ixgbe_copy_dcb_cfg() 75 if (dst->path[rx].bwg_id != src->path[rx].bwg_id) { in ixgbe_copy_dcb_cfg() 76 dst->path[rx].bwg_id = src->path[rx].bwg_id; in ixgbe_copy_dcb_cfg() 168 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() 175 if (bwg_id ! in ixgbe_dcbnl_set_pg_tc_cfg_tx() 167 ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 185 ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 bw_pct) ixgbe_dcbnl_set_pg_bwg_cfg_tx() argument 193 ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 211 ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 bw_pct) ixgbe_dcbnl_set_pg_bwg_cfg_rx() argument 219 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 231 ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 *bw_pct) ixgbe_dcbnl_get_pg_bwg_cfg_tx() argument 239 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_rx() argument 251 ixgbe_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 *bw_pct) ixgbe_dcbnl_get_pg_bwg_cfg_rx() argument 316 u8 bwg_id[MAX_TRAFFIC_CLASS], prio_type[MAX_TRAFFIC_CLASS]; ixgbe_dcbnl_set_all() local [all...] |
H A D | ixgbe_dcb_82599.c | 14 * @bwg_id: bandwidth grouping indexed by traffic class 23 u8 *bwg_id, in ixgbe_dcb_config_rx_arbiter_82599() 51 reg |= (u32)(bwg_id[i]) << IXGBE_RTRPT4C_BWG_SHIFT; in ixgbe_dcb_config_rx_arbiter_82599() 74 * @bwg_id: bandwidth grouping indexed by traffic class 82 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82599() 99 reg |= (u32)(bwg_id[i]) << IXGBE_RTTDT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82599() 125 * @bwg_id: bandwidth grouping indexed by traffic class 134 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82599() 160 reg |= (u32)(bwg_id[i]) << IXGBE_RTTPT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82599() 327 * @bwg_id 20 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_config_rx_arbiter_82599() argument 79 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_desc_arbiter_82599() argument 131 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_config_tx_data_arbiter_82599() argument 333 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_hw_config_82599() argument [all...] |
H A D | ixgbe_dcb.c | 86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid() 310 __u8 bwg_id[IEEE_8021QAZ_MAX_TCS] = {0, 1, 2, 3, 4, 5, 6, 7}; in ixgbe_dcb_hw_ets() local 333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets() 337 u16 *refill, u16 *max, u8 *bwg_id, in ixgbe_dcb_hw_ets_config() 345 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 347 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config() 357 bwg_id, prio_typ in ixgbe_dcb_hw_ets_config() 336 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_hw_ets_config() argument [all...] |
H A D | ixgbe_dcb_82598.c | 73 * @bwg_id: bandwidth grouping indexed by traffic class 81 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82598() 103 reg |= (u32)(bwg_id[i]) << IXGBE_TDTQ2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82598() 122 * @bwg_id: bandwidth grouping indexed by traffic class 130 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82598() 148 reg |= (u32)(bwg_id[i]) << IXGBE_TDPT2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82598() 258 * @bwg_id: bandwidth grouping indexed by traffic class 264 u16 *max, u8 *bwg_id, u8 *prio_type) in ixgbe_dcb_hw_config_82598() 268 bwg_id, prio_type); in ixgbe_dcb_hw_config_82598() 270 bwg_id, prio_typ in ixgbe_dcb_hw_config_82598() 78 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_desc_arbiter_82598() argument 127 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_data_arbiter_82598() argument 263 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_hw_config_82598() argument [all...] |
H A D | ixgbe_dcb_82599.h | 79 u8 *bwg_id, 86 u8 *bwg_id, 92 u8 *bwg_id, 97 u16 *max, u8 *bwg_id, u8 *prio_type,
|
H A D | ixgbe_dcb_82598.h | 60 u8 *bwg_id, 66 u8 *bwg_id, 70 u16 *max, u8 *bwg_id, u8 *prio_type);
|
H A D | ixgbe_dcb.h | 75 u8 bwg_id; /* Bandwidth Group (BWG) ID */ member 133 u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
|
H A D | ixgbe_main.c | 6234 tc->path[DCB_TX_CONFIG].bwg_id = 0; in ixgbe_init_dcb() 6236 tc->path[DCB_RX_CONFIG].bwg_id = 0; in ixgbe_init_dcb()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 51 if (dst->path[tx].bwg_id != src->path[tx].bwg_id) { in ixgbe_copy_dcb_cfg() 52 dst->path[tx].bwg_id = src->path[tx].bwg_id; in ixgbe_copy_dcb_cfg() 73 if (dst->path[rx].bwg_id != src->path[rx].bwg_id) { in ixgbe_copy_dcb_cfg() 74 dst->path[rx].bwg_id = src->path[rx].bwg_id; in ixgbe_copy_dcb_cfg() 166 u8 prio, u8 bwg_id, u8 bw_pct, in ixgbe_dcbnl_set_pg_tc_cfg_tx() 173 if (bwg_id ! in ixgbe_dcbnl_set_pg_tc_cfg_tx() 165 ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 183 ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 bw_pct) ixgbe_dcbnl_set_pg_bwg_cfg_tx() argument 191 ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 209 ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 bw_pct) ixgbe_dcbnl_set_pg_bwg_cfg_rx() argument 217 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 229 ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, u8 *bw_pct) ixgbe_dcbnl_get_pg_bwg_cfg_tx() argument 237 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_rx() argument 249 ixgbe_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, u8 *bw_pct) ixgbe_dcbnl_get_pg_bwg_cfg_rx() argument 314 u8 bwg_id[MAX_TRAFFIC_CLASS], prio_type[MAX_TRAFFIC_CLASS]; ixgbe_dcbnl_set_all() local [all...] |
H A D | ixgbe_dcb_82599.c | 14 * @bwg_id: bandwidth grouping indexed by traffic class 23 u8 *bwg_id, in ixgbe_dcb_config_rx_arbiter_82599() 51 reg |= (u32)(bwg_id[i]) << IXGBE_RTRPT4C_BWG_SHIFT; in ixgbe_dcb_config_rx_arbiter_82599() 74 * @bwg_id: bandwidth grouping indexed by traffic class 82 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82599() 99 reg |= (u32)(bwg_id[i]) << IXGBE_RTTDT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82599() 125 * @bwg_id: bandwidth grouping indexed by traffic class 134 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82599() 160 reg |= (u32)(bwg_id[i]) << IXGBE_RTTPT2C_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82599() 327 * @bwg_id 20 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_config_rx_arbiter_82599() argument 79 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_desc_arbiter_82599() argument 131 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_config_tx_data_arbiter_82599() argument 333 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_hw_config_82599() argument [all...] |
H A D | ixgbe_dcb.c | 86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id]; in ixgbe_dcb_calculate_tc_credits() 199 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid() 310 __u8 bwg_id[IEEE_8021QAZ_MAX_TCS] = {0, 1, 2, 3, 4, 5, 6, 7}; in ixgbe_dcb_hw_ets() local 333 bwg_id, prio_type, ets->prio_tc); in ixgbe_dcb_hw_ets() 337 u16 *refill, u16 *max, u8 *bwg_id, in ixgbe_dcb_hw_ets_config() 345 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 347 bwg_id, prio_type); in ixgbe_dcb_hw_ets_config() 355 bwg_id, prio_type, prio_tc); in ixgbe_dcb_hw_ets_config() 357 bwg_id, prio_typ in ixgbe_dcb_hw_ets_config() 336 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) ixgbe_dcb_hw_ets_config() argument [all...] |
H A D | ixgbe_dcb_82598.c | 73 * @bwg_id: bandwidth grouping indexed by traffic class 81 u8 *bwg_id, in ixgbe_dcb_config_tx_desc_arbiter_82598() 103 reg |= (u32)(bwg_id[i]) << IXGBE_TDTQ2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82598() 122 * @bwg_id: bandwidth grouping indexed by traffic class 130 u8 *bwg_id, in ixgbe_dcb_config_tx_data_arbiter_82598() 148 reg |= (u32)(bwg_id[i]) << IXGBE_TDPT2TCCR_BWG_SHIFT; in ixgbe_dcb_config_tx_data_arbiter_82598() 258 * @bwg_id: bandwidth grouping indexed by traffic class 264 u16 *max, u8 *bwg_id, u8 *prio_type) in ixgbe_dcb_hw_config_82598() 268 bwg_id, prio_type); in ixgbe_dcb_hw_config_82598() 270 bwg_id, prio_typ in ixgbe_dcb_hw_config_82598() 78 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_desc_arbiter_82598() argument 127 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_config_tx_data_arbiter_82598() argument 263 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) ixgbe_dcb_hw_config_82598() argument [all...] |
H A D | ixgbe_dcb_82599.h | 79 u8 *bwg_id, 86 u8 *bwg_id, 92 u8 *bwg_id, 97 u16 *max, u8 *bwg_id, u8 *prio_type,
|
H A D | ixgbe_dcb_82598.h | 60 u8 *bwg_id, 66 u8 *bwg_id, 70 u16 *max, u8 *bwg_id, u8 *prio_type);
|
H A D | ixgbe_dcb.h | 75 u8 bwg_id; /* Bandwidth Group (BWG) ID */ member 133 u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
|
H A D | ixgbe_main.c | 6268 tc->path[DCB_TX_CONFIG].bwg_id = 0; in ixgbe_init_dcb() 6270 tc->path[DCB_RX_CONFIG].bwg_id = 0; in ixgbe_init_dcb()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 360 * @bwg_id: the BW group id the traffic class belongs to 367 u8 prio_type, u8 bwg_id, u8 bw_pct, in i40e_dcbnl_set_pg_tc_cfg_tx() 381 /* prio_type, bwg_id and bw_pct per UP are not supported */ in i40e_dcbnl_set_pg_tc_cfg_tx() 390 "Set PG config tc=%d bwg_id=%d prio_type=%d bw_pct=%d up_map=%d\n", in i40e_dcbnl_set_pg_tc_cfg_tx() 391 tc, bwg_id, prio_type, bw_pct, up_map); in i40e_dcbnl_set_pg_tc_cfg_tx() 366 i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio_type, u8 bwg_id, u8 bw_pct, u8 up_map) i40e_dcbnl_set_pg_tc_cfg_tx() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 1394 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() 1397 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx() 1401 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() 1393 qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) qed_dcbnl_getpgtccfgrx() argument 1400 qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, int bwg_id, u8 *bw_pct) qed_dcbnl_getpgbwgcfgrx() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 1392 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() 1395 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx() 1399 int bwg_id, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgrx() 1391 qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) qed_dcbnl_getpgtccfgrx() argument 1398 qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, int bwg_id, u8 *bw_pct) qed_dcbnl_getpgbwgcfgrx() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 428 * @bwg_id: the BW group ID the TC belongs to 435 u8 __always_unused bwg_id, in ice_dcbnl_set_pg_tc_cfg_tx() 451 /* prio_type, bwg_id and bw_pct per UP are not supported */ in ice_dcbnl_set_pg_tc_cfg_tx() 433 ice_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 __always_unused prio_type, u8 __always_unused bwg_id, u8 __always_unused bw_pct, u8 up_map) ice_dcbnl_set_pg_tc_cfg_tx() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 458 * @bwg_id: the BW group ID the TC belongs to 465 u8 __always_unused bwg_id, in ice_dcbnl_set_pg_tc_cfg_tx() 486 /* prio_type, bwg_id and bw_pct per UP are not supported */ in ice_dcbnl_set_pg_tc_cfg_tx() 463 ice_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 __always_unused prio_type, u8 __always_unused bwg_id, u8 __always_unused bw_pct, u8 up_map) ice_dcbnl_set_pg_tc_cfg_tx() argument
|