Home
last modified time | relevance | path

Searched refs:queue_mapping (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.1.9/net/sched/ !
Dact_skbedit.c28 u16 queue_mapping = params->queue_mapping; in tcf_skbedit_hash() local
33 queue_mapping += hash % params->mapping_mod; in tcf_skbedit_hash()
36 return netdev_cap_txqueue(skb->dev, queue_mapping); in tcf_skbedit_hash()
74 skb->dev->real_num_tx_queues > params->queue_mapping) { in tcf_skbedit_act()
128 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
152 queue_mapping = nla_data(tb[TCA_SKBEDIT_QUEUE_MAPPING]); in tcf_skbedit_init()
186 if (*queue_mapping_max < *queue_mapping) { in tcf_skbedit_init()
191 mapping_mod = *queue_mapping_max - *queue_mapping + 1; in tcf_skbedit_init()
246 params_new->queue_mapping = *queue_mapping; in tcf_skbedit_init()
302 nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING, params->queue_mapping)) in tcf_skbedit_dump()
[all …]
/linux-6.1.9/include/trace/events/ !
Dnet.h22 __field( u16, queue_mapping )
42 __entry->queue_mapping = skb->queue_mapping;
62 __get_str(name), __entry->queue_mapping, __entry->skbaddr,
173 __field( u16, queue_mapping )
199 __entry->queue_mapping = skb->queue_mapping;
219 __get_str(name), __entry->napi_id, __entry->queue_mapping,
/linux-6.1.9/net/dsa/ !
Dtag_ocelot_8021q.c63 u16 queue_mapping = skb_get_queue_mapping(skb); in ocelot_xmit() local
64 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in ocelot_xmit()
Dtag_sja1105.c268 u16 queue_mapping = skb_get_queue_mapping(skb); in sja1105_xmit() local
269 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1105_xmit()
296 u16 queue_mapping = skb_get_queue_mapping(skb); in sja1110_xmit() local
297 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1110_xmit()
/linux-6.1.9/tools/testing/selftests/bpf/progs/ !
Dkfree_skb.c42 __u16 mac_len, hdr_len, queue_mapping; member
97 bpf_printk("skb->queue_mapping %d\n", _(skb->queue_mapping)); in BPF_PROG()
/linux-6.1.9/Documentation/networking/ !
Dmultiqueue.rst35 bands and queues based on the value in skb->queue_mapping. Use this field in
43 hardware. Once the association is made, any skb with skb->queue_mapping set,
75 action skbedit queue_mapping 3
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ !
Di40e_debugfs.c415 vsi->info.queue_mapping[0], vsi->info.queue_mapping[1], in i40e_dbg_dump_vsi_seid()
416 vsi->info.queue_mapping[2], vsi->info.queue_mapping[3], in i40e_dbg_dump_vsi_seid()
417 vsi->info.queue_mapping[4], vsi->info.queue_mapping[5], in i40e_dbg_dump_vsi_seid()
418 vsi->info.queue_mapping[6], vsi->info.queue_mapping[7]); in i40e_dbg_dump_vsi_seid()
421 vsi->info.queue_mapping[8], vsi->info.queue_mapping[9], in i40e_dbg_dump_vsi_seid()
422 vsi->info.queue_mapping[10], vsi->info.queue_mapping[11], in i40e_dbg_dump_vsi_seid()
423 vsi->info.queue_mapping[12], vsi->info.queue_mapping[13], in i40e_dbg_dump_vsi_seid()
424 vsi->info.queue_mapping[14], vsi->info.queue_mapping[15]); in i40e_dbg_dump_vsi_seid()
/linux-6.1.9/include/net/tc_act/ !
Dtc_skbedit.h19 u16 queue_mapping; member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ !
Dchcr_ipsec.c426 qidx = skb->queue_mapping; in copy_esn_pktxt()
474 qidx = skb->queue_mapping; in copy_cpltx_pktxt()
517 qidx = skb->queue_mapping; in copy_key_cpltx_pktxt()
731 qidx = skb->queue_mapping; in ch_ipsec_xmit()
/linux-6.1.9/net/core/ !
Dselftests.c29 u16 queue_mapping; member
267 ret = dev_direct_xmit(skb, attr->queue_mapping); in __net_test_loopback()
/linux-6.1.9/drivers/net/wireless/st/cw1200/ !
Dwsm.h1841 static const u8 queue_mapping[] = { in wsm_queue_id_to_linux() local
1844 return queue_mapping[queue_id]; in wsm_queue_id_to_linux()
1849 static const u8 queue_mapping[] = { in wsm_queue_id_to_wsm() local
1852 return queue_mapping[queue_id]; in wsm_queue_id_to_wsm()
/linux-6.1.9/drivers/net/ !
Dnet_failover.c112 skb->queue_mapping = qdisc_skb_cb(skb)->slave_dev_queue_mapping; in net_failover_start_xmit()
134 qdisc_skb_cb(skb)->slave_dev_queue_mapping = skb->queue_mapping; in net_failover_select_queue()
142 qdisc_skb_cb(skb)->slave_dev_queue_mapping = skb->queue_mapping; in net_failover_select_queue()
/linux-6.1.9/drivers/net/wireguard/ !
Dqueueing.h88 skb->queue_mapping = 0; in wg_reset_packet()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ !
Dhns_enet.c361 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
369 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
370 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
397 netif_stop_subqueue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
1503 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit()
1506 &tx_ring_data(priv, skb->queue_mapping)); in hns_nic_net_xmit()
1539 skb->queue_mapping = HNS_LB_TX_RING; in hns_assemble_skb()
1668 rd = &tx_ring_data(priv, skb->queue_mapping); in hns_nic_clear_all_rx_fetch()
Dhns_ethtool.c500 skb->queue_mapping = NIC_LB_TEST_RING_ID; in __lb_run_test()
512 &tx_ring_data(priv, skb->queue_mapping)); in __lb_run_test()
/linux-6.1.9/include/linux/ !
Dskbuff.h903 __u16 queue_mapping; member
4758 static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) in skb_set_queue_mapping() argument
4760 skb->queue_mapping = queue_mapping; in skb_set_queue_mapping()
4765 return skb->queue_mapping; in skb_get_queue_mapping()
4770 to->queue_mapping = from->queue_mapping; in skb_copy_queue_mapping()
4775 skb->queue_mapping = rx_queue + 1; in skb_record_rx_queue()
4780 return skb->queue_mapping - 1; in skb_get_rx_queue()
4785 return skb->queue_mapping != 0; in skb_rx_queue_recorded()
Dif_team.h230 BUILD_BUG_ON(sizeof(skb->queue_mapping) != in team_dev_queue_xmit()
/linux-6.1.9/tools/testing/selftests/bpf/verifier/ !
Dcgroup_skb.c17 offsetof(struct __sk_buff, queue_mapping)),
/linux-6.1.9/drivers/net/ethernet/engleder/ !
Dtsnep_main.c1109 u16 queue_mapping = skb_get_queue_mapping(skb); in tsnep_netdev_xmit_frame() local
1111 if (queue_mapping >= adapter->num_tx_queues) in tsnep_netdev_xmit_frame()
1112 queue_mapping = 0; in tsnep_netdev_xmit_frame()
1114 return tsnep_xmit_frame_ring(skb, &adapter->tx[queue_mapping]); in tsnep_netdev_xmit_frame()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ !
Diavf_adminq_cmd.h409 __le16 queue_mapping[16]; member
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/ !
Dopa_vnic_netdev.c83 v_dbg("xmit: queue %d skb len %d\n", skb->queue_mapping, skb->len); in opa_netdev_start_xmit()
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ !
Dhinic_tx.c494 u16 prod_idx, q_id = skb->queue_mapping; in hinic_lb_xmit_frame()
555 u16 prod_idx, q_id = skb->queue_mapping; in hinic_xmit_frame()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ !
Dstmmac_selftests.c53 u16 queue_mapping; member
349 ret = dev_direct_xmit(skb, attr->queue_mapping); in __stmmac_test_loopback()
1691 attr.queue_mapping = queue; in __stmmac_test_jumbo()
1798 attr.queue_mapping = i; in stmmac_test_tbs()
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ !
Docteon_network.h604 return skb->queue_mapping % oct->num_iqs; in skb_iq()
/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_eswitch.c372 skb->queue_mapping = repr->vf->vf_id; in ice_eswitch_port_start_xmit()

123