/Linux-v5.4/drivers/net/usb/ |
D | cdc_mbim.c | 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() 286 "unsupported tci=0x%04x\n", tci); in cdc_mbim_tx_fixup() [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/include/linux/dsa/ |
D | 8021q.h | 21 u16 tpid, u16 tci); 42 u16 tpid, u16 tci) in dsa_8021q_xmit() argument
|
/Linux-v5.4/net/dsa/ |
D | tag_sja1105.c | 242 u16 tpid, vid, tci; in sja1105_rcv() local 257 tci = ntohs(hdr->h_vlan_TCI); in sja1105_rcv() 258 vid = tci & VLAN_VID_MASK; in sja1105_rcv() 261 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in sja1105_rcv()
|
D | tag_8021q.c | 293 u16 tpid, u16 tci) in dsa_8021q_xmit() argument 298 return vlan_insert_tag(skb, htons(tpid), tci); in dsa_8021q_xmit()
|
/Linux-v5.4/include/net/ |
D | erspan.h | 164 __be16 tci; in erspan_build_header() member 181 vlan_tci = ntohs(qp->tci); in erspan_build_header() 258 __be16 tci; in erspan_build_header_v2() member 275 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2()
|
/Linux-v5.4/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() 794 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
|
D | flow_netlink.c | 964 __be16 tci = 0; in encode_vlan_from_nlattrs() local 968 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 975 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 978 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 987 __be16 tci = 0; in validate_vlan_from_nlattrs() local 1003 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_from_nlattrs() 1005 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs() 1006 if (tci) { in validate_vlan_from_nlattrs() 1025 __be16 tci = 0; in validate_vlan_mask_from_nlattrs() local 1027 bool encap_valid = !!(match->key->eth.vlan.tci & in validate_vlan_mask_from_nlattrs() [all …]
|
D | flow.h | 49 __be16 tci; /* 0 if no VLAN, VLAN_CFI_MASK set otherwise. */ member
|
/Linux-v5.4/drivers/net/vmxnet3/ |
D | vmxnet3_defs.h | 139 u32 tci:16; /* Tag to Insert */ member 153 u32 tci:16; /* Tag to Insert */ member 251 u32 tci:16; /* Tag stripped */ member 259 u32 tci:16; /* Tag stripped */ member
|
/Linux-v5.4/drivers/scsi/isci/ |
D | host.h | 350 #define ISCI_TAG(seq, tci) (((u16) (seq)) << 12 | tci) argument 477 void isci_tci_free(struct isci_host *ihost, u16 tci);
|
D | host.c | 2551 void isci_tci_free(struct isci_host *ihost, u16 tci) in isci_tci_free() argument 2555 ihost->tci_pool[tail] = tci; in isci_tci_free() 2562 u16 tci = ihost->tci_pool[head]; in isci_tci_alloc() local 2565 return tci; in isci_tci_alloc() 2576 u16 tci = isci_tci_alloc(ihost); in isci_alloc_tag() local 2577 u8 seq = ihost->io_request_sequence[tci]; in isci_alloc_tag() 2579 return ISCI_TAG(seq, tci); in isci_alloc_tag() 2587 u16 tci = ISCI_TAG_TCI(io_tag); in isci_free_tag() local 2594 if (seq == ihost->io_request_sequence[tci]) { in isci_free_tag() 2595 ihost->io_request_sequence[tci] = (seq+1) & (SCI_MAX_SEQ-1); in isci_free_tag() [all …]
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 324 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter() 362 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter() 1119 peer->tci = 0; in efx_siena_sriov_peer_work() 1615 u16 tci; in efx_siena_sriov_set_vf_vlan() local 1622 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan() 1623 vf->addr.tci = htons(tci); in efx_siena_sriov_set_vf_vlan() 1659 u16 tci; in efx_siena_sriov_get_vf_config() local 1669 tci = ntohs(vf->addr.tci); in efx_siena_sriov_get_vf_config() 1670 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config() 1671 ivi->qos = (tci >> VLAN_PRIO_SHIFT) & 0x7; in efx_siena_sriov_get_vf_config()
|
D | vfdi.h | 87 __be16 tci; member
|
/Linux-v5.4/net/core/ |
D | dev.c | 2072 int tci, u16 index) in remove_xps_queue() argument 2078 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue() 2091 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue() 2105 int tci; in remove_xps_queue_cpu() local 2107 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu() 2111 if (!remove_xps_queue(dev_maps, tci, j)) in remove_xps_queue_cpu() 2246 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local 2294 tci = j * num_tc + tc; in __netif_set_xps_queue() 2295 map = dev_maps ? xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue() 2302 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue() [all …]
|
D | net-sysfs.c | 1267 int i, tci = cpu * num_tc + tc; in xps_cpus_show() local 1270 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_cpus_show() 1350 int i, tci = j * num_tc + tc; in xps_rxqs_show() local 1353 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_rxqs_show()
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | offload.c | 72 __be16 tci; member 540 merge->tci = cpu_to_be16(0xffff); in nfp_flower_update_merge_with_actions() 543 merge->tci = cpu_to_be16(0); in nfp_flower_update_merge_with_actions() 633 merge->tci = meta_tci->tci; in nfp_flower_populate_merge_match() 1029 if (meta_tci->tci & cpu_to_be16(NFP_FLOWER_MASK_VLAN_PRESENT)) { in nfp_flower_validate_pre_tun_rule() 1030 u16 vlan_tci = be16_to_cpu(meta_tci->tci); in nfp_flower_validate_pre_tun_rule()
|
D | match.c | 38 ext->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci() 45 msk->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
|
D | cmsg.h | 271 __be16 tci; member
|
/Linux-v5.4/include/soc/fsl/qe/ |
D | ucc_slow.h | 170 int tci; member
|
D | ucc_fast.h | 157 int tci; member
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_sp_commands.c | 365 p_ramrod->outer_tag_config.outer_tag.tci = in qed_sp_pf_start() 387 p_ramrod->outer_tag_config.outer_tag.tci |= in qed_sp_pf_start() 435 sb, sb_index, p_ramrod->outer_tag_config.outer_tag.tci); in qed_sp_pf_start()
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 3549 struct virtchnl_tc_info *tci = in i40e_vc_add_qch_msg() local 3579 if (!tci->num_tc || tci->num_tc > I40E_MAX_VF_VSI) { in i40e_vc_add_qch_msg() 3582 vf->vf_id, tci->num_tc, I40E_MAX_VF_VSI); in i40e_vc_add_qch_msg() 3588 for (i = 0; i < tci->num_tc; i++) in i40e_vc_add_qch_msg() 3589 if (!tci->list[i].count || in i40e_vc_add_qch_msg() 3590 tci->list[i].count > I40E_DEFAULT_QUEUES_PER_VF) { in i40e_vc_add_qch_msg() 3593 vf->vf_id, i, tci->list[i].count, in i40e_vc_add_qch_msg() 3644 vf->num_tc = tci->num_tc; in i40e_vc_add_qch_msg() 3646 if (tci->list[i].max_tx_rate) { in i40e_vc_add_qch_msg() 3647 if (tci->list[i].max_tx_rate > speed) { in i40e_vc_add_qch_msg() [all …]
|
/Linux-v5.4/drivers/soc/fsl/qe/ |
D | ucc_slow.c | 277 if (us_info->tci) in ucc_slow_init()
|
D | ucc_fast.c | 239 if (uf_info->tci) in ucc_fast_init()
|