/Linux-v4.19/drivers/net/usb/ |
D | cdc_mbim.c | 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() 288 "unsupported tci=0x%04x\n", tci); in cdc_mbim_tx_fixup() [all …]
|
/Linux-v4.19/net/sched/ |
D | act_vlan.c | 32 u16 tci; in tcf_vlan_act() local 65 tci = skb_vlan_tag_get(skb); in tcf_vlan_act() 69 err = __skb_vlan_pop(skb, &tci); in tcf_vlan_act() 74 tci = (tci & ~VLAN_VID_MASK) | p->tcfv_push_vid; in tcf_vlan_act() 77 tci &= ~VLAN_PRIO_MASK; in tcf_vlan_act() 78 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act() 81 __vlan_hwaccel_put_tag(skb, p->tcfv_push_proto, tci); in tcf_vlan_act()
|
/Linux-v4.19/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-v4.19/net/openvswitch/ |
D | flow.c | 332 key_vh->tci = vh->tci | htons(VLAN_TAG_PRESENT); in parse_vlan_tag() 337 u16 tci; in parse_vlan_tag() local 341 err = __skb_vlan_pop(skb, &tci); in parse_vlan_tag() 345 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); in parse_vlan_tag() 354 key->eth.vlan.tci = 0; in clear_vlan() 356 key->eth.cvlan.tci = 0; in clear_vlan() 365 key->eth.vlan.tci = htons(skb->vlan_tci); in parse_vlan() 604 if (key->eth.cvlan.tci & htons(VLAN_TAG_PRESENT)) in key_extract()
|
D | flow_netlink.c | 952 __be16 tci = 0; in encode_vlan_from_nlattrs() local 956 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 963 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 966 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 975 __be16 tci = 0; in validate_vlan_from_nlattrs() local 991 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_from_nlattrs() 993 if (!(tci & htons(VLAN_TAG_PRESENT))) { in validate_vlan_from_nlattrs() 994 if (tci) { in validate_vlan_from_nlattrs() 1013 __be16 tci = 0; in validate_vlan_mask_from_nlattrs() local 1015 bool encap_valid = !!(match->key->eth.vlan.tci & in validate_vlan_mask_from_nlattrs() [all …]
|
D | flow.h | 63 __be16 tci; /* 0 if no VLAN, VLAN_TAG_PRESENT set otherwise. */ member
|
D | actions.c | 288 key->eth.vlan.tci = 0; in pop_vlan() 300 key->eth.vlan.tci = vlan->vlan_tci; in push_vlan()
|
/Linux-v4.19/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
|
D | vmxnet3_drv.c | 1108 gdesc->txd.tci = skb_vlan_tag_get(skb); in vmxnet3_tq_xmit() 1531 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 327 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter() 365 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter() 1122 peer->tci = 0; in efx_siena_sriov_peer_work() 1618 u16 tci; in efx_siena_sriov_set_vf_vlan() local 1625 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan() 1626 vf->addr.tci = htons(tci); in efx_siena_sriov_set_vf_vlan() 1662 u16 tci; in efx_siena_sriov_get_vf_config() local 1672 tci = ntohs(vf->addr.tci); in efx_siena_sriov_get_vf_config() 1673 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config() 1674 ivi->qos = (tci >> VLAN_PRIO_SHIFT) & 0x7; in efx_siena_sriov_get_vf_config()
|
D | vfdi.h | 90 __be16 tci; member
|
/Linux-v4.19/net/core/ |
D | dev.c | 2115 int tci, u16 index) in remove_xps_queue() argument 2121 map = xmap_dereference(dev_maps->attr_map[tci]); in remove_xps_queue() 2134 RCU_INIT_POINTER(dev_maps->attr_map[tci], NULL); in remove_xps_queue() 2148 int tci; in remove_xps_queue_cpu() local 2150 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu() 2154 if (!remove_xps_queue(dev_maps, tci, j)) in remove_xps_queue_cpu() 2282 int i, j, tci, numa_node_id = -2; in __netif_set_xps_queue() local 2330 tci = j * num_tc + tc; in __netif_set_xps_queue() 2331 map = dev_maps ? xmap_dereference(dev_maps->attr_map[tci]) : in __netif_set_xps_queue() 2338 RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); in __netif_set_xps_queue() [all …]
|
D | net-sysfs.c | 1273 int i, tci = cpu * num_tc + tc; in xps_cpus_show() local 1276 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_cpus_show() 1357 int i, tci = j * num_tc + tc; in xps_rxqs_show() local 1360 map = rcu_dereference(dev_maps->attr_map[tci]); in xps_rxqs_show()
|
/Linux-v4.19/include/soc/fsl/qe/ |
D | ucc_slow.h | 174 int tci; member
|
D | ucc_fast.h | 155 int tci; member
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_sp_commands.c | 347 p_ramrod->outer_tag_config.outer_tag.tci = in qed_sp_pf_start() 369 p_ramrod->outer_tag_config.outer_tag.tci |= in qed_sp_pf_start() 417 sb, sb_index, p_ramrod->outer_tag_config.outer_tag.tci); in qed_sp_pf_start()
|
D | qed_hsi.h | 1069 __le16 tci; member
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 3421 struct virtchnl_tc_info *tci = in i40e_vc_add_qch_msg() local 3450 if (!tci->num_tc || tci->num_tc > I40E_MAX_VF_VSI) { in i40e_vc_add_qch_msg() 3453 vf->vf_id, tci->num_tc); in i40e_vc_add_qch_msg() 3459 for (i = 0; i < tci->num_tc; i++) in i40e_vc_add_qch_msg() 3460 if (!tci->list[i].count || in i40e_vc_add_qch_msg() 3461 tci->list[i].count > I40E_DEFAULT_QUEUES_PER_VF) { in i40e_vc_add_qch_msg() 3464 vf->vf_id, i, tci->list[i].count); in i40e_vc_add_qch_msg() 3514 vf->num_tc = tci->num_tc; in i40e_vc_add_qch_msg() 3516 if (tci->list[i].max_tx_rate) { in i40e_vc_add_qch_msg() 3517 if (tci->list[i].max_tx_rate > speed) { in i40e_vc_add_qch_msg() [all …]
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
D | cmsg.h | 246 __be16 tci; member
|
D | match.c | 65 frame->tci = cpu_to_be16(tmp_tci); in nfp_flower_compile_meta_tci()
|
/Linux-v4.19/drivers/soc/fsl/qe/ |
D | ucc_slow.c | 281 if (us_info->tci) in ucc_slow_init()
|
D | ucc_fast.c | 243 if (uf_info->tci) in ucc_fast_init()
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core_main.c | 3739 __be16 *tci; in qeth_get_priority_queue() local 3771 tci = &((struct ethhdr *)skb->data)->h_proto; in qeth_get_priority_queue() 3772 if (be16_to_cpu(*tci) == ETH_P_8021Q) in qeth_get_priority_queue() 3774 ~be16_to_cpu(*(tci + 1)) >> (VLAN_PRIO_SHIFT + 1) & 3); in qeth_get_priority_queue()
|