Searched refs:tci (Results 1 – 9 of 9) sorted by relevance
/net/sched/ |
D | act_vlan.c | 29 u16 tci; in tcf_vlan_act() local 62 tci = skb_vlan_tag_get(skb); in tcf_vlan_act() 66 err = __skb_vlan_pop(skb, &tci); in tcf_vlan_act() 71 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act() 74 tci &= ~VLAN_PRIO_MASK; in tcf_vlan_act() 75 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act() 78 __vlan_hwaccel_put_tag(skb, p->tcfv_push_proto, tci); in tcf_vlan_act()
|
/net/dsa/ |
D | tag_sja1105.c | 285 u16 tpid, vid, tci; in sja1105_rcv() local 304 tci = skb_vlan_tag_get(skb); in sja1105_rcv() 307 __skb_vlan_pop(skb, &tci); in sja1105_rcv() 313 vid = tci & VLAN_VID_MASK; in sja1105_rcv() 316 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in sja1105_rcv()
|
D | tag_8021q.c | 454 u16 tpid, u16 tci) in dsa_8021q_xmit() argument 459 return vlan_insert_tag(skb, htons(tpid), tci); in dsa_8021q_xmit()
|
/net/openvswitch/ |
D | flow.c | 317 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag() 322 u16 tci; in parse_vlan_tag() local 326 err = __skb_vlan_pop(skb, &tci); in parse_vlan_tag() 330 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); in parse_vlan_tag() 339 key->eth.vlan.tci = 0; in clear_vlan() 341 key->eth.cvlan.tci = 0; in clear_vlan() 350 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan() 802 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
|
D | flow_netlink.c | 967 __be16 tci = 0; in encode_vlan_from_nlattrs() local 971 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 978 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 981 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 990 __be16 tci = 0; in validate_vlan_from_nlattrs() local 1006 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_from_nlattrs() 1008 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs() 1009 if (tci) { in validate_vlan_from_nlattrs() 1028 __be16 tci = 0; in validate_vlan_mask_from_nlattrs() local 1030 bool encap_valid = !!(match->key->eth.vlan.tci & in validate_vlan_mask_from_nlattrs() [all …]
|
D | flow.h | 50 __be16 tci; /* 0 if no VLAN, VLAN_CFI_MASK set otherwise. */ member
|
D | actions.c | 223 key->eth.vlan.tci = 0; in pop_vlan() 235 key->eth.vlan.tci = vlan->vlan_tci; in push_vlan()
|
/net/core/ |
D | dev.c | 2458 int tci, u16 index) in remove_xps_queue() argument 2464 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue() 2477 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue() 2491 int tci; in remove_xps_queue_cpu() local 2493 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu() 2497 if (!remove_xps_queue(dev_maps, tci, j)) in remove_xps_queue_cpu() 2632 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local 2682 tci = j * num_tc + tc; in __netif_set_xps_queue() 2683 map = dev_maps ? xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue() 2690 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue() [all …]
|
D | net-sysfs.c | 1416 int i, tci = cpu * num_tc + tc; in xps_cpus_show() local 1419 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_cpus_show() 1518 int i, tci = j * num_tc + tc; in xps_rxqs_show() local 1521 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_rxqs_show()
|