/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | cdc_mbim.c | 185 /* no need to put the VLAN tci in the packet headers */ in cdc_mbim_bind() 225 u16 tci = 0; in cdc_mbim_tx_fixup() local 243 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN && in cdc_mbim_tx_fixup() 244 __vlan_get_tag(skb, &tci) == 0) { in cdc_mbim_tx_fixup() 255 if (!tci) in cdc_mbim_tx_fixup() 258 if (tci == MBIM_IPS0_VID) in cdc_mbim_tx_fixup() 259 tci = 0; in cdc_mbim_tx_fixup() 270 switch (tci & 0x0f00) { in cdc_mbim_tx_fixup() 275 c[3] = tci; in cdc_mbim_tx_fixup() 282 c[3] = tci; in cdc_mbim_tx_fixup() 307 do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci) do_neigh_solicit() argument 365 cdc_mbim_process_dgram(struct usbnet *dev, u8 *buf, size_t len, u16 tci) cdc_mbim_process_dgram() argument 424 u16 tci; cdc_mbim_rx_fixup() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | cdc_mbim.c | 187 /* no need to put the VLAN tci in the packet headers */ in cdc_mbim_bind() 227 u16 tci = 0; in cdc_mbim_tx_fixup() local 245 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN && in cdc_mbim_tx_fixup() 246 __vlan_get_tag(skb, &tci) == 0) { in cdc_mbim_tx_fixup() 257 if (!tci) in cdc_mbim_tx_fixup() 260 if (tci == MBIM_IPS0_VID) in cdc_mbim_tx_fixup() 261 tci = 0; in cdc_mbim_tx_fixup() 272 switch (tci & 0x0f00) { in cdc_mbim_tx_fixup() 277 c[3] = tci; in cdc_mbim_tx_fixup() 284 c[3] = tci; in cdc_mbim_tx_fixup() 309 do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci) do_neigh_solicit() argument 367 cdc_mbim_process_dgram(struct usbnet *dev, u8 *buf, size_t len, u16 tci) cdc_mbim_process_dgram() argument 426 u16 tci; cdc_mbim_rx_fixup() local [all...] |
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_ocelot.c | 21 u16 proto, tci; in ocelot_xmit_get_vlan_info() local 33 vlan_remove_tag(skb, &tci); in ocelot_xmit_get_vlan_info() 34 *vlan_tci = tci; in ocelot_xmit_get_vlan_info() 37 br_vlan_get_pvid_rcu(br, &tci); in ocelot_xmit_get_vlan_info() 39 *vlan_tci = tci; in ocelot_xmit_get_vlan_info()
|
H A D | tag_8021q.c | 462 u16 tpid, u16 tci) in dsa_8021q_xmit() 467 return vlan_insert_tag(skb, htons(tpid), tci); in dsa_8021q_xmit() 503 u16 vid, tci; in dsa_8021q_rcv() local 506 tci = skb_vlan_tag_get(skb); in dsa_8021q_rcv() 510 __skb_vlan_pop(skb, &tci); in dsa_8021q_rcv() 514 vid = tci & VLAN_VID_MASK; in dsa_8021q_rcv() 522 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv() 461 dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev, u16 tpid, u16 tci) dsa_8021q_xmit() argument
|
H A D | tag_8021q.h | 14 u16 tpid, u16 tci);
|
/kernel/linux/linux-5.10/net/sched/ |
H A 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() 77 /* put updated tci as hwaccel tag */ in tcf_vlan_act() 78 __vlan_hwaccel_put_tag(skb, p->tcfv_push_proto, tci); in tcf_vlan_act()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_vlan.c | 30 u16 tci; in tcf_vlan_act() local 63 tci = skb_vlan_tag_get(skb); in tcf_vlan_act() 67 err = __skb_vlan_pop(skb, &tci); in tcf_vlan_act() 72 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act() 75 tci &= ~VLAN_PRIO_MASK; in tcf_vlan_act() 76 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act() 78 /* put updated tci as hwaccel tag */ in tcf_vlan_act() 79 __vlan_hwaccel_put_tag(skb, p->tcfv_push_proto, tci); in tcf_vlan_act()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | erspan.h | 179 __be16 tci; in erspan_build_header() member 191 /* If mirrored packet has vlan tag, extract tci and in erspan_build_header() 196 vlan_tci = ntohs(qp->tci); in erspan_build_header() 273 __be16 tci; in erspan_build_header_v2() member 286 * so only extract vlan tci field. in erspan_build_header_v2() 290 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | erspan.h | 182 __be16 tci; in erspan_build_header() member 194 /* If mirrored packet has vlan tag, extract tci and in erspan_build_header() 199 vlan_tci = ntohs(qp->tci); in erspan_build_header() 276 __be16 tci; in erspan_build_header_v2() member 289 * so only extract vlan tci field. in erspan_build_header_v2() 293 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2()
|
/kernel/linux/linux-5.10/net/dsa/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 31 /* Populate the tci field. */ in nfp_flower_compile_meta_tci() 37 ext->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci() 44 msk->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci() 238 u16 tci; in nfp_flower_fill_vlan() local 240 tci = NFP_FLOWER_MASK_VLAN_PRESENT; in nfp_flower_fill_vlan() 241 tci |= FIELD_PREP(NFP_FLOWER_MASK_VLAN_PRIO, in nfp_flower_fill_vlan() 247 frame->outer_tci = cpu_to_be16(tci); in nfp_flower_fill_vlan() 250 frame->inner_tci = cpu_to_be16(tci); in nfp_flower_fill_vlan()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A 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()
|
H A 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; validate_vlan_mask_from_nlattrs() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_struct.h | 61 u32 tci; member 253 u32 tci; member 360 u32 tci; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_struct.h | 61 u32 tci; member 253 u32 tci; member 360 u32 tci; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.c | 447 u16 tpid = 0, tci = 0; in nfp_net_vlan_strip() local 451 tci = le16_to_cpu(rxd->rxd.vlan); in nfp_net_vlan_strip() 460 tci = meta->vlan.tci; in nfp_net_vlan_strip() 463 __vlan_hwaccel_put_tag(skb, htons(tpid), tci); in nfp_net_vlan_strip()
|
/kernel/linux/linux-5.10/include/linux/dsa/ |
H A D | 8021q.h | 53 u16 tpid, u16 tci); 91 u16 tpid, u16 tci) in dsa_8021q_xmit() 90 dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev, u16 tpid, u16 tci) dsa_8021q_xmit() argument
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
H A D | host.h | 134 * @io_request_sequence: generation number for tci's (task contexts) 349 /* see sci_controller_io_tag_allocate|free for how seq and tci are built */ 350 #define ISCI_TAG(seq, tci) (((u16) (seq)) << 12 | tci) 477 void isci_tci_free(struct isci_host *ihost, u16 tci);
|
/kernel/linux/linux-6.6/drivers/scsi/isci/ |
H A D | host.h | 134 * @io_request_sequence: generation number for tci's (task contexts) 349 /* see sci_controller_io_tag_allocate|free for how seq and tci are built */ 350 #define ISCI_TAG(seq, tci) (((u16) (seq)) << 12 | tci) 477 void isci_tci_free(struct isci_host *ihost, u16 tci);
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | flow_netlink.c | 979 __be16 tci = 0; in encode_vlan_from_nlattrs() local 983 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 990 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 993 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 1002 __be16 tci = 0; in validate_vlan_from_nlattrs() local 1018 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_from_nlattrs() 1020 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs() 1021 if (tci) { in validate_vlan_from_nlattrs() 1040 __be16 tci = 0; validate_vlan_mask_from_nlattrs() local [all...] |
H A D | flow.c | 466 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag() 471 u16 tci; in parse_vlan_tag() local 475 err = __skb_vlan_pop(skb, &tci); in parse_vlan_tag() 479 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); in parse_vlan_tag() 488 key->eth.vlan.tci = 0; in clear_vlan() 490 key->eth.cvlan.tci = 0; in clear_vlan() 499 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan() 952 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
|
/kernel/linux/linux-5.10/drivers/net/vmxnet3/ |
H A D | vmxnet3_defs.h | 141 u32 tci:16; /* Tag to Insert */ member 155 u32 tci:16; /* Tag to Insert */ member 256 u32 tci:16; /* Tag stripped */ member 264 u32 tci:16; /* Tag stripped */ member
|
/kernel/linux/linux-6.6/drivers/net/vmxnet3/ |
H A D | vmxnet3_defs.h | 166 u32 tci:16; /* Tag to Insert */ member 180 u32 tci:16; /* Tag to Insert */ member 283 u32 tci:16; /* Tag stripped */ member 291 u32 tci:16; /* Tag stripped */ member
|
/kernel/linux/linux-5.10/net/core/ |
H A D | dev.c | 2451 int tci, u16 index) in remove_xps_queue() 2457 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue() 2470 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue() 2484 int tci; in remove_xps_queue_cpu() local 2486 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu() 2490 if (!remove_xps_queue(dev_maps, tci, j)) in remove_xps_queue_cpu() 2625 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local 2675 tci = j * num_tc + tc; in __netif_set_xps_queue() 2676 map = dev_maps ? xmap_dereference(dev_maps->attr_map[tci]) in __netif_set_xps_queue() 2450 remove_xps_queue(struct xps_dev_maps *dev_maps, int tci, u16 index) remove_xps_queue() argument 3941 __get_xps_queue_idx(struct net_device *dev, struct sk_buff *skb, struct xps_dev_maps *dev_maps, unsigned int tci) __get_xps_queue_idx() argument 3983 int tci = sk_rx_queue_get(sk); get_xps_queue() local 3994 unsigned int tci = skb->sender_cpu - 1; get_xps_queue() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | siena_sriov.c | 325 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter() 363 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter() 1120 peer->tci = 0; in efx_siena_sriov_peer_work() 1616 u16 tci; in efx_siena_sriov_set_vf_vlan() local 1623 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan() 1624 vf->addr.tci = htons(tci); in efx_siena_sriov_set_vf_vlan() 1660 u16 tci; in efx_siena_sriov_get_vf_config() local 1670 tci = ntohs(vf->addr.tci); in efx_siena_sriov_get_vf_config() [all...] |