Home
last modified time | relevance | path

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

/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 …]
/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()
/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
/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 …]
/drivers/s390/net/
Dqeth_core_main.c3779 __be16 *tci; in qeth_get_priority_queue() local
3815 tci = &((struct ethhdr *)skb->data)->h_proto; in qeth_get_priority_queue()
3816 if (*tci == ETH_P_8021Q) in qeth_get_priority_queue()
3817 return ~*(tci + 1) >> (VLAN_PRIO_SHIFT + 1) & 3; in qeth_get_priority_queue()