/linux/drivers/net/usb/ |
A D | cdc_mbim.c | 226 u16 tci = 0; in cdc_mbim_tx_fixup() local 256 if (!tci) in cdc_mbim_tx_fixup() 260 tci = 0; in cdc_mbim_tx_fixup() 276 c[3] = tci; in cdc_mbim_tx_fixup() 283 c[3] = tci; in cdc_mbim_tx_fixup() 325 if (tci) { in do_neigh_solicit() 327 tci); in do_neigh_solicit() 371 if (tci < 256 || tci == MBIM_IPS0_VID) { /* IPS session? */ in cdc_mbim_process_dgram() 404 if (tci) in cdc_mbim_process_dgram() 425 u16 tci; in cdc_mbim_rx_fixup() local [all …]
|
/linux/net/sched/ |
A 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/net/dsa/ |
A D | tag_ocelot.c | 17 u16 proto, tci; in ocelot_xmit_get_vlan_info() local 29 __skb_vlan_pop(skb, &tci); in ocelot_xmit_get_vlan_info() 30 *vlan_tci = tci; in ocelot_xmit_get_vlan_info() 33 br_vlan_get_pvid_rcu(br, &tci); in ocelot_xmit_get_vlan_info() 35 *vlan_tci = tci; in ocelot_xmit_get_vlan_info()
|
A D | tag_8021q.c | 567 u16 tpid, u16 tci) in dsa_8021q_xmit() argument 572 return vlan_insert_tag(skb, htons(tpid), tci); in dsa_8021q_xmit() 578 u16 vid, tci; in dsa_8021q_rcv() local 582 tci = skb_vlan_tag_get(skb); in dsa_8021q_rcv() 585 __skb_vlan_pop(skb, &tci); in dsa_8021q_rcv() 589 vid = tci & VLAN_VID_MASK; in dsa_8021q_rcv() 593 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
|
/linux/include/net/ |
A D | erspan.h | 179 __be16 tci; in erspan_build_header() member 196 vlan_tci = ntohs(qp->tci); in erspan_build_header() 273 __be16 tci; in erspan_build_header_v2() member 290 vlan_tci = ntohs(qp->tci); in erspan_build_header_v2()
|
/linux/net/openvswitch/ |
A D | flow.c | 322 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag() 327 u16 tci; in parse_vlan_tag() local 331 err = __skb_vlan_pop(skb, &tci); in parse_vlan_tag() 335 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); in parse_vlan_tag() 344 key->eth.vlan.tci = 0; in clear_vlan() 346 key->eth.cvlan.tci = 0; in clear_vlan() 355 key->eth.vlan.tci = htons(skb->vlan_tci) | htons(VLAN_CFI_MASK); in parse_vlan() 808 if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK)) in key_extract()
|
A D | flow_netlink.c | 966 __be16 tci = 0; in encode_vlan_from_nlattrs() local 970 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 977 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 980 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask); in encode_vlan_from_nlattrs() 989 __be16 tci = 0; in validate_vlan_from_nlattrs() local 1007 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_from_nlattrs() 1008 if (tci) { in validate_vlan_from_nlattrs() 1027 __be16 tci = 0; in validate_vlan_mask_from_nlattrs() local 1056 if (!(tci & htons(VLAN_CFI_MASK))) { in validate_vlan_mask_from_nlattrs() 2048 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key() [all …]
|
A D | flow.h | 50 __be16 tci; /* 0 if no VLAN, VLAN_CFI_MASK set otherwise. */ member
|
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
A D | macsec_struct.h | 61 u32 tci; member 253 u32 tci; member 360 u32 tci; member
|
A D | macsec_api.c | 368 packed_record[4] = rec->tci & 0xFF; in set_ingress_preclass_record() 482 rec->tci = packed_record[4] & 0xFF; in get_ingress_preclass_record() 1258 packed_record[3] = rec->tci & 0xFF; in set_egress_class_record() 1409 rec->tci = packed_record[3] & 0xFF; in get_egress_class_record() 1542 packed_record[4] |= (rec->tci & 0x3F) << 3; in set_egress_sc_record() 1593 rec->tci = (packed_record[4] >> 3) & 0x3F; in get_egress_sc_record()
|
/linux/drivers/net/ethernet/sfc/ |
A D | siena_sriov.c | 325 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_tx_filter() 363 vlan = ntohs(vf->addr.tci) & VLAN_VID_MASK; in efx_siena_sriov_reset_rx_filter() 1120 peer->tci = 0; in efx_siena_sriov_peer_work() 1616 u16 tci; in efx_siena_sriov_set_vf_vlan() local 1623 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan() 1624 vf->addr.tci = htons(tci); in efx_siena_sriov_set_vf_vlan() 1660 u16 tci; in efx_siena_sriov_get_vf_config() local 1670 tci = ntohs(vf->addr.tci); in efx_siena_sriov_get_vf_config() 1671 ivi->vlan = tci & VLAN_VID_MASK; in efx_siena_sriov_get_vf_config() 1672 ivi->qos = (tci >> VLAN_PRIO_SHIFT) & 0x7; in efx_siena_sriov_get_vf_config()
|
A D | vfdi.h | 87 __be16 tci; member
|
/linux/drivers/scsi/isci/ |
A 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);
|
A D | host.c | 2550 void isci_tci_free(struct isci_host *ihost, u16 tci) in isci_tci_free() argument 2554 ihost->tci_pool[tail] = tci; in isci_tci_free() 2561 u16 tci = ihost->tci_pool[head]; in isci_tci_alloc() local 2564 return tci; in isci_tci_alloc() 2575 u16 tci = isci_tci_alloc(ihost); in isci_alloc_tag() local 2576 u8 seq = ihost->io_request_sequence[tci]; in isci_alloc_tag() 2578 return ISCI_TAG(seq, tci); in isci_alloc_tag() 2586 u16 tci = ISCI_TAG_TCI(io_tag); in isci_free_tag() local 2593 if (seq == ihost->io_request_sequence[tci]) { in isci_free_tag() 2594 ihost->io_request_sequence[tci] = (seq+1) & (SCI_MAX_SEQ-1); in isci_free_tag() [all …]
|
/linux/drivers/net/vmxnet3/ |
A D | vmxnet3_defs.h | 144 u32 tci:16; /* Tag to Insert */ member 158 u32 tci:16; /* Tag to Insert */ member 259 u32 tci:16; /* Tag stripped */ member 267 u32 tci:16; /* Tag stripped */ member
|
/linux/include/linux/dsa/ |
A D | 8021q.h | 35 u16 tpid, u16 tci);
|
/linux/net/core/ |
A D | dev.c | 2435 int tci; in remove_xps_queue_cpu() local 2437 for (tci = cpu * num_tc; num_tc--; tci++) { in remove_xps_queue_cpu() 2634 tci = j * num_tc + tc; in __netif_set_xps_queue() 2657 tci = j * num_tc + tc; in __netif_set_xps_queue() 2693 for (i = num_tc, tci = j * dev_maps->num_tc; i--; tci++) { in __netif_set_xps_queue() 2737 tci, index); in __netif_set_xps_queue() 2755 for (i = num_tc, tci = j * num_tc; i--; tci++) { in __netif_set_xps_queue() 3990 tci += tc; in __get_xps_queue_idx() 4025 if (tci >= 0) in get_xps_queue() 4027 tci); in get_xps_queue() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_rxtx.c | 255 u16 tci = dsa.vlan.vid & VLAN_VID_MASK; in prestera_rxtx_process_skb() local 257 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb() 259 tci |= VLAN_CFI_MASK; in prestera_rxtx_process_skb() 261 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci); in prestera_rxtx_process_skb()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_sp_commands.c | 341 outer_tag_config->outer_tag.tci = cpu_to_le16(p_hwfn->hw_info.ovlan); in qed_sp_pf_start() 363 outer_tag_config->outer_tag.tci |= in qed_sp_pf_start() 416 sb, sb_index, outer_tag_config->outer_tag.tci); in qed_sp_pf_start()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | offload.c | 82 __be16 tci; member 616 merge->tci = cpu_to_be16(0xffff); in nfp_flower_update_merge_with_actions() 619 merge->tci = cpu_to_be16(0); in nfp_flower_update_merge_with_actions() 717 merge->tci = meta_tci->tci; in nfp_flower_populate_merge_match() 1143 if (meta_tci->tci & cpu_to_be16(NFP_FLOWER_MASK_VLAN_PRESENT)) { in nfp_flower_validate_pre_tun_rule() 1144 u16 vlan_tci = be16_to_cpu(meta_tci->tci); in nfp_flower_validate_pre_tun_rule()
|
/linux/include/soc/fsl/qe/ |
A D | ucc_fast.h | 156 int tci; member
|
A D | ucc_slow.h | 170 int tci; member
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_virtchnl_pf.c | 3753 struct virtchnl_tc_info *tci = in i40e_vc_add_qch_msg() local 3783 if (!tci->num_tc || tci->num_tc > I40E_MAX_VF_VSI) { in i40e_vc_add_qch_msg() 3792 for (i = 0; i < tci->num_tc; i++) in i40e_vc_add_qch_msg() 3793 if (!tci->list[i].count || in i40e_vc_add_qch_msg() 3797 vf->vf_id, i, tci->list[i].count, in i40e_vc_add_qch_msg() 3830 vf->num_tc = tci->num_tc; in i40e_vc_add_qch_msg() 3832 if (tci->list[i].max_tx_rate) { in i40e_vc_add_qch_msg() 3833 if (tci->list[i].max_tx_rate > speed) { in i40e_vc_add_qch_msg() 3836 tci->list[i].max_tx_rate, in i40e_vc_add_qch_msg() 3842 tci->list[i].max_tx_rate; in i40e_vc_add_qch_msg() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_macsec.c | 351 sc_rec.tci |= BIT(1); in aq_set_txsc() 353 sc_rec.tci |= BIT(2); in aq_set_txsc() 355 sc_rec.tci |= BIT(3); in aq_set_txsc() 357 sc_rec.tci |= BIT(4); in aq_set_txsc() 362 sc_rec.tci |= BIT(0); in aq_set_txsc()
|
/linux/drivers/soc/fsl/qe/ |
A D | ucc_slow.c | 271 if (us_info->tci) in ucc_slow_init()
|