Searched refs:vlan_tag (Results 1 - 25 of 63) sorted by relevance

123

/freebsd-current/contrib/libpcap/pcap/
H A Dvlan.h39 struct vlan_tag { struct
/freebsd-current/sys/dev/enic/
H A Dwq_enet_desc.h15 __le16 vlan_tag; member in struct:wq_enet_desc
42 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback)
55 desc->vlan_tag = cpu_to_le16(vlan_tag);
61 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback)
81 *vlan_tag = le16_to_cpu(desc->vlan_tag);
39 wq_enet_desc_enc(struct wq_enet_desc *desc, u64 address, u16 length, u16 mss, u16 header_length, u8 offload_mode, u8 eop, u8 cq_entry, u8 fcoe_encap, u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) argument
58 wq_enet_desc_dec(struct wq_enet_desc *desc, u64 *address, u16 *length, u16 *mss, u16 *header_length, u8 *offload_mode, u8 *eop, u8 *cq_entry, u8 *fcoe_encap, u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) argument
/freebsd-current/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c82 u16 vlan_tag = 0xffff; local
100 vlan_tag = rdma_vlan_dev_vlan_id(gid_attr.ndev);
104 if (vlan_tag < 0x1000)
105 vlan_tag |= (ah_attr->sl & 7) << 13;
111 ah->av.eth.vlan = cpu_to_be16(vlan_tag);
154 int slave_sgid_index, u8 *s_mac, u16 vlan_tag)
171 if (vlan_tag < 0x1000)
172 vlan_tag |= (ah_attr->sl & 7) << 13;
173 mah->av.eth.vlan = cpu_to_be16(vlan_tag);
153 mlx4_ib_create_ah_slave(struct ib_ah *ah, struct ib_ah_attr *ah_attr, int slave_sgid_index, u8 *s_mac, u16 vlan_tag) argument
/freebsd-current/sys/dev/cxgb/common/
H A Dcxgb_ctl_defs.h67 u16 vlan_tag; member in struct:iff_mac
/freebsd-current/sys/dev/irdma/
H A Dirdma_uda.h53 u16 vlan_tag; member in struct:irdma_ah_info
H A Dirdma_uda.c66 FIELD_PREP(IRDMA_UDAQPC_VLANTAG, info->vlan_tag);
H A Dirdma_kcompat.c439 ah_info->vlan_tag = vlan_dev_vlan_id(sgid_attr->ndev);
441 ah_info->vlan_tag = VLAN_N_VID;
448 if (ah_info->vlan_tag >= VLAN_N_VID && iwdev->dcb_vlan_mode)
449 ah_info->vlan_tag = 0;
451 if (ah_info->vlan_tag < VLAN_N_VID) {
455 ah_info->vlan_tag |= vlan_prio << VLAN_PRIO_SHIFT;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_fcoe_api.h69 u16 vlan_tag; member in struct:ecore_fcoe_conn
H A Deth_common.h259 __le16 vlan_tag /* 802.1q VLAN tag */; member in struct:eth_fast_path_rx_reg_cqe
320 __le16 vlan_tag /* 802.1q VLAN tag */; member in struct:eth_fast_path_rx_tpa_start_cqe
H A Decore_vfpf_if.h373 u16 vlan_tag; member in struct:vfpf_q_mac_vlan_filter
/freebsd-current/sys/dev/oce/
H A Doce_hw.h716 uint32_t vlan_tag:16; member in struct:oce_async_evt_grp5_os2bmc::__anon3735::__anon3736
750 uint16_t vlan_tag; member in struct:oce_async_event_qnq
1216 struct ntwk_if_vlan_tag vlan_tag; member in struct:mbx_create_common_iface::__anon3759::__anon3760
2415 uint32_t vlan_tag:16; member in struct:oce_nic_hdr_wqe::__anon3845::__anon3846
2443 uint32_t vlan_tag:16;
2543 uint32_t vlan_tag:16; member in struct:oce_nic_rx_cqe::__anon3853::__anon3854
2578 uint32_t vlan_tag:16;
2626 uint32_t vlan_tag:16; member in struct:oce_nic_rx_cqe_v1::__anon3855::__anon3856
2660 uint32_t vlan_tag:16;
3969 uint32_t vlan_tag member in struct:nic_hwlro_singleton_cqe
4093 uint32_t vlan_tag:16; member in struct:nic_hwlro_cqe_part2
[all...]
H A Doce_if.c1142 nichdr->u0.s.vlan_tag = m->m_pkthdr.ether_vtag;
1590 cq_info.vtag = cqe->vlan_tag;
1599 cq_info.vtag = cqe2->vlan_tag;
1685 /* Get vlan_tag value */
1687 vtag = BSWAP_16(cqe->u0.s.vlan_tag);
1689 vtag = cqe->u0.s.vlan_tag;
2166 sc->vlan_tag[vtag] = 1;
2182 sc->vlan_tag[vtag] = 0;
2201 if (sc->vlan_tag[i]) {
2686 sc->qnqid = dbgcqe->vlan_tag;
2777 uint16_t vlan_tag = 0; local
[all...]
/freebsd-current/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c617 u32 vlan_tag = mb->m_pkthdr.ether_vtag; local
618 up = (vlan_tag >> 13) % MLX4_EN_NUM_UP;
712 tx_desc->ctrl.vlan_tag = cpu_to_be16(mb->m_pkthdr.ether_vtag);
715 tx_desc->ctrl.vlan_tag = 0;
894 *(volatile __be32 *) (&tx_desc->ctrl.vlan_tag) |= cpu_to_be32(ring->doorbell_qpn);
/freebsd-current/contrib/libpcap/
H A Dpcap-int.h615 u_short vlan_tag; member in struct:pcap_bpf_aux_data
H A Dbpf_filter.c151 A = aux_data->vlan_tag;
/freebsd-current/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.h79 int bnxt_hwrm_l2_filter_alloc(struct bnxt_softc *softc, uint16_t vlan_tag,
/freebsd-current/contrib/tcpdump/
H A Dprint-openflow-1.0.c881 uint32_t subtype, vlan_tag; local
899 * | vlan_tag |
910 /* vlan_tag */
911 vlan_tag = GET_BE_U_4(cp);
913 switch (vlan_tag >> 16) {
915 ND_PRINT(", vlan_tag none");
918 ND_PRINT(", vlan_tag 802.1Q (%s)", ieee8021q_tci_string(vlan_tag & 0xffff));
921 ND_PRINT(", vlan_tag unknown (0x%04x)", vlan_tag >> 1
[all...]
/freebsd-current/sys/dev/mlx4/
H A Dqp.h306 __be16 vlan_tag; member in struct:mlx4_wqe_ctrl_seg::__anon12754::__anon12755
/freebsd-current/sys/dev/ixgbe/
H A Dixgbe.h346 uint16_t vlan_tag; member in struct:ixgbe_vf
H A Dif_sriov.c227 vf->vlan_tag = tag;
760 ixgbe_vf_set_default_vlan(sc, vf, vf->vlan_tag);
/freebsd-current/sys/dev/e1000/
H A De1000_82575.h103 u32 vlan_tag:16; member in struct:e1000_adv_context_desc::__anon2257::__anon2258
/freebsd-current/sys/dev/qlxgbe/
H A Dql_isr.c521 sgc.rcv.vlan_tag =
558 sgc.rcv.vlan_tag =
632 sgc.lro.vlan_tag =
/freebsd-current/sys/dev/sfxge/common/
H A Def10_tlv_layout.h641 uint32_t vlan_tag; member in struct:tlv_vport_vlan_tag
/freebsd-current/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1814 #define LAST_ETH_FIELD vlan_tag
1859 if (ib_spec->eth.mask.vlan_tag) {
1866 first_vid, ntohs(ib_spec->eth.mask.vlan_tag));
1868 first_vid, ntohs(ib_spec->eth.val.vlan_tag));
1872 ntohs(ib_spec->eth.mask.vlan_tag) >> 12);
1875 ntohs(ib_spec->eth.val.vlan_tag) >> 12);
1879 ntohs(ib_spec->eth.mask.vlan_tag) >> 13);
1882 ntohs(ib_spec->eth.val.vlan_tag) >> 13);
/freebsd-current/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1956 uint16_t vlan_tag; local
1991 vlan_tag = m->m_pkthdr.ether_vtag;
1993 vlan_tag = 0xfff;
1995 if (tlsp->l2te == NULL || tlsp->l2te->vlan != vlan_tag ||
2001 vlan_tag, tlsp->vi->pi->lport, eh->ether_dhost);

Completed in 519 milliseconds

123