Home
last modified time | relevance | path

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

/drivers/net/usb/
Dcdc_mbim.c225 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 …]
Daqc111.c1187 u16 tci = 0; in aqc111_tx_fixup() local
1206 if (vlan_get_tag(skb, &tci) >= 0) { in aqc111_tx_fixup()
1208 tx_desc |= ((u64)tci & AQ_TX_DESC_VLAN_MASK) << in aqc111_tx_fixup()
/drivers/net/vmxnet3/
Dvmxnet3_defs.h139 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
Dvmxnet3_drv.c1107 gdesc->txd.tci = skb_vlan_tag_get(skb); in vmxnet3_tq_xmit()
1530 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
/drivers/net/ethernet/sfc/
Dsiena_sriov.c324 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()
Dvfdi.h87 __be16 tci; member
/drivers/scsi/isci/
Dhost.h350 #define ISCI_TAG(seq, tci) (((u16) (seq)) << 12 | tci) argument
477 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/net/ethernet/netronome/nfp/flower/
Doffload.c72 __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()
Dmatch.c38 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()
Dcmsg.h271 __be16 tci; member
/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c365 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()
Dqed_hsi.h1081 __le16 tci; member
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3549 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 …]
/drivers/soc/fsl/qe/
Ducc_slow.c277 if (us_info->tci) in ucc_slow_init()
Ducc_fast.c239 if (uf_info->tci) in ucc_fast_init()