Home
last modified time | relevance | path

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

/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 …]
DKconfig787 Say Y here to change skb priority or queue_mapping settings.
/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()
/net/core/
Dselftests.c29 u16 queue_mapping; member
267 ret = dev_direct_xmit(skb, attr->queue_mapping); in __net_test_loopback()
Dfilter.c319 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
322 offsetof(struct sk_buff, queue_mapping)); in convert_skb_access()
8905 case bpf_ctx_range(struct __sk_buff, queue_mapping): in tc_cls_act_is_valid_access()
9561 case offsetof(struct __sk_buff, queue_mapping): in bpf_convert_ctx_access()
9563 u32 off = bpf_target_off(struct sk_buff, queue_mapping, 2, target_size); in bpf_convert_ctx_access()
9576 queue_mapping, in bpf_convert_ctx_access()
Dskbuff.c1390 new->queue_mapping = old->queue_mapping; in __copy_skb_header()