Home
last modified time | relevance | path

Searched refs:qoffset (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_mqprio.c14 u32 speed, qcount = 0, qoffset = 0; in cxgb4_mqprio_validate() local
48 qoffset = max_t(u16, mqprio->qopt.offset[i], qoffset); in cxgb4_mqprio_validate()
81 if (qoffset >= adap->tids.neotids || qcount > adap->tids.neotids) in cxgb4_mqprio_validate()
431 u32 qoffset, qcount, tot_qcount, qid, hwqid; in cxgb4_mqprio_enable_offload() local
445 qoffset = mqprio->qopt.offset[i]; in cxgb4_mqprio_enable_offload()
454 qid = qoffset + j; in cxgb4_mqprio_enable_offload()
488 qoffset = mqprio->qopt.offset[i] + pi->nqsets; in cxgb4_mqprio_enable_offload()
491 qoffset = 0; in cxgb4_mqprio_enable_offload()
494 ret = netdev_set_tc_queue(dev, i, qcount, qoffset); in cxgb4_mqprio_enable_offload()
514 qoffset = mqprio->qopt.offset[i]; in cxgb4_mqprio_enable_offload()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c48 if (ice_find_q_in_range(vsi->tc_cfg.tc_info[tc].qoffset, in ice_is_pfc_causing_hung_q()
49 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q()
220 u16 qoffset, qcount; in ice_vsi_cfg_dcb_rings() local
240 qoffset = vsi->tc_cfg.tc_info[n].qoffset; in ice_vsi_cfg_dcb_rings()
242 for (i = qoffset; i < (qoffset + qcount); i++) in ice_vsi_cfg_dcb_rings()
246 for (i = qoffset; i < (qoffset + qcount); i++) in ice_vsi_cfg_dcb_rings()
262 qoffset = vsi->mqprio_qopt.qopt.offset[n]; in ice_vsi_cfg_dcb_rings()
264 for (i = qoffset; i < (qoffset + qcount); i++) { in ice_vsi_cfg_dcb_rings()
Dice_lib.c1025 vsi->tc_cfg.tc_info[i].qoffset = 0; in ice_vsi_setup_q_map()
1034 vsi->tc_cfg.tc_info[i].qoffset = offset; in ice_vsi_setup_q_map()
3158 vsi->tc_cfg.tc_info[i].qoffset); in ice_vsi_cfg_netdev_tc()
3210 vsi->tc_cfg.tc_info[i].qoffset = 0; in ice_vsi_setup_q_map_mqprio()
3221 vsi->tc_cfg.tc_info[i].qoffset = offset; in ice_vsi_setup_q_map_mqprio()
Dice.h240 u16 qoffset; member
Dice_base.c259 return ring->q_index - vsi->tc_cfg.tc_info[tc].qoffset; in ice_calc_txq_handle()
Dice_main.c4163 vsi->tc_cfg.tc_info[i].qoffset); in ice_vsi_recfg_qs()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3747 u16 qoffset; in i40e_lan_select_queue() local
3769 qoffset = vsi->tc_config.tc_info[tclass].qoffset; in i40e_lan_select_queue()
3770 return qoffset + hash; in i40e_lan_select_queue()
Di40e_main.c1969 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map_mqprio()
1977 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map_mqprio()
2119 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map()
2141 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map()
3790 u16 qoffset, qcount; in i40e_vsi_config_dcb_rings() local
3808 qoffset = vsi->tc_config.tc_info[n].qoffset; in i40e_vsi_config_dcb_rings()
3810 for (i = qoffset; i < (qoffset + qcount); i++) { in i40e_vsi_config_dcb_rings()
5705 vsi->tc_config.tc_info[i].qoffset); in i40e_vsi_config_netdev_tc()
6727 vsi->tc_config.tc_info[i].qoffset; in i40e_configure_queue_channels()
7725 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_set_default_tc_config()
Di40e.h332 u16 qoffset; /* Queue offset from base queue */ member
Di40e_debugfs.c457 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid()
/linux-6.12.1/net/core/
Ddev.c3248 u16 qoffset = 0; in skb_tx_hash() local
3254 qoffset = sb_dev->tc_to_txq[tc].offset; in skb_tx_hash()
3258 sb_dev->name, qoffset, tc); in skb_tx_hash()
3259 qoffset = 0; in skb_tx_hash()
3267 if (hash >= qoffset) in skb_tx_hash()
3268 hash -= qoffset; in skb_tx_hash()
3271 return hash + qoffset; in skb_tx_hash()
3274 return (u16) reciprocal_scale(skb_get_hash(skb), qcount) + qoffset; in skb_tx_hash()
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_main.c3606 u16 qoffset = mqprio_qopt->qopt.offset[i]; in __iavf_setup_tc() local
3610 qoffset); in __iavf_setup_tc()