Home
last modified time | relevance | path

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

1234

/linux-6.6.21/net/sched/
Dact_skbedit.c29 u16 queue_mapping = params->queue_mapping; in tcf_skbedit_hash() local
34 queue_mapping += hash % params->mapping_mod; in tcf_skbedit_hash()
37 return netdev_cap_txqueue(skb->dev, queue_mapping); in tcf_skbedit_hash()
76 skb->dev->real_num_tx_queues > params->queue_mapping) { in tcf_skbedit_act()
130 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
159 queue_mapping = nla_data(tb[TCA_SKBEDIT_QUEUE_MAPPING]); in tcf_skbedit_init()
193 if (*queue_mapping_max < *queue_mapping) { in tcf_skbedit_init()
198 mapping_mod = *queue_mapping_max - *queue_mapping + 1; in tcf_skbedit_init()
253 params_new->queue_mapping = *queue_mapping; in tcf_skbedit_init()
309 nla_put_u16(skb, TCA_SKBEDIT_QUEUE_MAPPING, params->queue_mapping)) in tcf_skbedit_dump()
[all …]
/linux-6.6.21/include/trace/events/
Dnet.h22 __field( u16, queue_mapping )
42 __entry->queue_mapping = skb->queue_mapping;
63 __get_str(name), __entry->queue_mapping, __entry->skbaddr,
174 __field( u16, queue_mapping )
200 __entry->queue_mapping = skb->queue_mapping;
220 __get_str(name), __entry->napi_id, __entry->queue_mapping,
/linux-6.6.21/Documentation/networking/
Dtc-queue-filters.rst18 skbedit queue_mapping $tx_qid. The action skbedit queue_mapping
30 2) TC filter with action skbedit queue_mapping $rx_qid selects a
31 receive queue. The action skbedit queue_mapping for receive queue
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.6.21/net/dsa/
Dtag_ksz.c273 u16 queue_mapping = skb_get_queue_mapping(skb); in ksz9477_xmit() local
274 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in ksz9477_xmit()
337 u16 queue_mapping = skb_get_queue_mapping(skb); in ksz9893_xmit() local
338 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in ksz9893_xmit()
403 u16 queue_mapping = skb_get_queue_mapping(skb); in lan937x_xmit() local
404 u8 prio = netdev_txq_to_tc(dev, queue_mapping); in lan937x_xmit()
Dtag_ocelot_8021q.c67 u16 queue_mapping = skb_get_queue_mapping(skb); in ocelot_xmit() local
68 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in ocelot_xmit()
Dtag_sja1105.c270 u16 queue_mapping = skb_get_queue_mapping(skb); in sja1105_xmit() local
271 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1105_xmit()
298 u16 queue_mapping = skb_get_queue_mapping(skb); in sja1110_xmit() local
299 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1110_xmit()
/linux-6.6.21/include/net/tc_act/
Dtc_skbedit.h19 u16 queue_mapping; member
103 rx_queue = rcu_dereference(to_skbedit(a)->params)->queue_mapping; in tcf_skbedit_rx_queue_mapping()
/linux-6.6.21/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()
Dverifier_cgroup_skb.c38 __imm_const(__sk_buff_queue_mapping, offsetof(struct __sk_buff, queue_mapping)), in test_1_for_cgroup_skb()
/linux-6.6.21/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.6.21/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c432 qidx = skb->queue_mapping; in copy_esn_pktxt()
480 qidx = skb->queue_mapping; in copy_cpltx_pktxt()
523 qidx = skb->queue_mapping; in copy_key_cpltx_pktxt()
737 qidx = skb->queue_mapping; in ch_ipsec_xmit()
/linux-6.6.21/net/core/
Dselftests.c29 u16 queue_mapping; member
267 ret = dev_direct_xmit(skb, attr->queue_mapping); in __net_test_loopback()
/linux-6.6.21/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.6.21/drivers/net/wireguard/
Dqueueing.h88 skb->queue_mapping = 0; in wg_reset_packet()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c386 dev_queue = netdev_get_tx_queue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
394 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
395 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
422 netif_stop_subqueue(ndev, skb->queue_mapping); in hns_nic_net_xmit_hw()
1528 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit()
1531 &tx_ring_data(priv, skb->queue_mapping)); in hns_nic_net_xmit()
1564 skb->queue_mapping = HNS_LB_TX_RING; in hns_assemble_skb()
1693 rd = &tx_ring_data(priv, skb->queue_mapping); in hns_nic_clear_all_rx_fetch()
/linux-6.6.21/include/linux/
Dskbuff.h902 __u16 queue_mapping; member
4816 static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping) in skb_set_queue_mapping() argument
4818 skb->queue_mapping = queue_mapping; in skb_set_queue_mapping()
4823 return skb->queue_mapping; in skb_get_queue_mapping()
4828 to->queue_mapping = from->queue_mapping; in skb_copy_queue_mapping()
4833 skb->queue_mapping = rx_queue + 1; in skb_record_rx_queue()
4838 return skb->queue_mapping - 1; in skb_get_rx_queue()
4843 return skb->queue_mapping != 0; in skb_rx_queue_recorded()
Dif_team.h233 BUILD_BUG_ON(sizeof(skb->queue_mapping) != in team_dev_queue_xmit()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dctx_rewrite.c111 N(SCHED_CLS, struct __sk_buff, queue_mapping),
119 N(SCHED_CLS, struct __sk_buff, queue_mapping, ".ushrt_max"),
/linux-6.6.21/drivers/net/
Dnet_failover.c112 skb->queue_mapping = qdisc_skb_cb(skb)->slave_dev_queue_mapping; in net_failover_start_xmit()
138 qdisc_skb_cb(skb)->slave_dev_queue_mapping = skb->queue_mapping; in net_failover_select_queue()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_adminq_cmd.h409 __le16 queue_mapping[16]; member
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h604 return skb->queue_mapping % oct->num_iqs; in skb_iq()

1234