Home
last modified time | relevance | path

Searched refs:tci (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/drivers/net/usb/
Dcdc_mbim.c226 u16 tci = 0; in cdc_mbim_tx_fixup() local
244 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN && in cdc_mbim_tx_fixup()
245 __vlan_get_tag(skb, &tci) == 0) { in cdc_mbim_tx_fixup()
256 if (!tci) in cdc_mbim_tx_fixup()
259 if (tci == MBIM_IPS0_VID) in cdc_mbim_tx_fixup()
260 tci = 0; in cdc_mbim_tx_fixup()
271 switch (tci & 0x0f00) { in cdc_mbim_tx_fixup()
276 c[3] = tci; in cdc_mbim_tx_fixup()
283 c[3] = tci; in cdc_mbim_tx_fixup()
287 "unsupported tci=0x%04x\n", tci); in cdc_mbim_tx_fixup()
[all …]
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_defs.h131 u32 tci:16; /* Tag to Insert */ member
145 u32 tci:16; /* Tag to Insert */ member
241 u32 tci:16; /* Tag stripped */ member
249 u32 tci:16; /* Tag stripped */ member
Dvmxnet3_drv.c1075 gdesc->txd.tci = skb_vlan_tag_get(skb); in vmxnet3_tq_xmit()
1449 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
/linux-4.4.14/drivers/scsi/isci/
Dhost.h351 #define ISCI_TAG(seq, tci) (((u16) (seq)) << 12 | tci) argument
478 void isci_tci_free(struct isci_host *ihost, u16 tci);
Dhost.c2551 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-4.4.14/net/openvswitch/
Dflow_netlink.c925 __be16 tci; in ovs_key_from_nlattrs() local
927 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in ovs_key_from_nlattrs()
928 if (!(tci & htons(VLAN_TAG_PRESENT))) { in ovs_key_from_nlattrs()
937 SW_FLOW_KEY_PUT(match, eth.tci, tci, is_mask); in ovs_key_from_nlattrs()
1198 __be16 tci; in ovs_nla_get_match() local
1207 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in ovs_nla_get_match()
1212 if (tci & htons(VLAN_TAG_PRESENT)) { in ovs_nla_get_match()
1216 } else if (!tci) { in ovs_nla_get_match()
1267 SW_FLOW_KEY_PUT(match, eth.tci, htons(0xffff), true); in ovs_nla_get_match()
1271 __be16 tci = 0; in ovs_nla_get_match() local
[all …]
Dflow.c309 __be16 tci; in parse_vlan() member
321 key->eth.tci = qp->tci | htons(VLAN_TAG_PRESENT); in parse_vlan()
483 key->eth.tci = 0; in key_extract()
485 key->eth.tci = htons(skb->vlan_tci); in key_extract()
Dflow.h72 __be16 tci; /* 0 if no VLAN, VLAN_TAG_PRESENT set otherwise. */ member
Dactions.c237 key->eth.tci = 0; in pop_vlan()
247 key->eth.tci = vlan->vlan_tci; in push_vlan()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsiena_sriov.c327 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()
Dvfdi.h90 __be16 tci; member
/linux-4.4.14/arch/powerpc/include/asm/
Ducc_fast.h134 int tci; member
Ducc_slow.h174 int tci; member
/linux-4.4.14/arch/m68k/include/asm/
Dm68360_quicc.h263 volatile unsigned short tci:1; member
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Ducc_slow.c281 if (us_info->tci) in ucc_slow_init()
Ducc_fast.c243 if (uf_info->tci) in ucc_fast_init()
/linux-4.4.14/drivers/s390/net/
Dqeth_core_main.c3768 __be16 *tci; in qeth_get_priority_queue() local
3804 tci = &((struct ethhdr *)skb->data)->h_proto; in qeth_get_priority_queue()
3805 if (*tci == ETH_P_8021Q) in qeth_get_priority_queue()
3806 return ~*(tci + 1) >> (VLAN_PRIO_SHIFT + 1) & 3; in qeth_get_priority_queue()