Home
last modified time | relevance | path

Searched refs:vlan_tag (Results 1 – 25 of 64) sorted by relevance

123

/drivers/net/ethernet/cisco/enic/
Denic_res.h46 int vlan_tag_insert, unsigned int vlan_tag, in enic_queue_wq_desc_ex() argument
59 (u16)vlan_tag, in enic_queue_wq_desc_ex()
76 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc() argument
79 0, 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc()
87 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum() argument
91 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum()
99 int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum_l4() argument
102 csum_offset, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum_l4()
110 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_tso() argument
113 mss, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_tso()
Dwq_enet_desc.h29 __le16 vlan_tag; member
56 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) in wq_enet_desc_enc() argument
69 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
75 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) in wq_enet_desc_dec() argument
95 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Denic_main.c626 int vlan_tag_insert, unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_vlan() argument
641 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_vlan()
650 int vlan_tag_insert, unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_csum_l4() argument
669 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_csum_l4()
678 int vlan_tag_insert, unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_tso() argument
714 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_tso()
753 unsigned int vlan_tag = 0; in enic_queue_wq_skb() local
760 vlan_tag = vlan_tx_tag_get(skb); in enic_queue_wq_skb()
762 vlan_tag = enic->loop_tag; in enic_queue_wq_skb()
768 vlan_tag_insert, vlan_tag, loopback); in enic_queue_wq_skb()
[all …]
/drivers/scsi/fnic/
Dwq_enet_desc.h27 __le16 vlan_tag; member
54 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) in wq_enet_desc_enc() argument
67 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
73 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) in wq_enet_desc_dec() argument
93 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Dfnic_res.h34 unsigned int vlan_tag, in fnic_queue_wq_desc() argument
48 (u16)vlan_tag, in fnic_queue_wq_desc()
58 unsigned int vlan_tag, in fnic_queue_wq_eth_desc() argument
73 (u16)vlan_tag, in fnic_queue_wq_eth_desc()
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c43 u16 vlan_tag; bool vlan_enabled = false; in set_av_attr() local
54 vlan_tag = rdma_get_vlan_id(&attr->grh.dgid); in set_av_attr()
55 if (vlan_tag && (vlan_tag < 0x1000)) { in set_av_attr()
58 vlan_tag |= (attr->sl & 7) << 13; in set_av_attr()
59 eth.vlan_tag = cpu_to_be16(vlan_tag); in set_av_attr()
144 attr->sl = be16_to_cpu(av->eth_hdr.vlan_tag) >> 13; in ocrdma_query_ah()
/drivers/infiniband/hw/mlx4/
Dah.c99 u16 vlan_tag; in create_iboe_ah() local
109 vlan_tag = rdma_get_vlan_id(&sgid); in create_iboe_ah()
110 if (vlan_tag < 0x1000) in create_iboe_ah()
111 vlan_tag |= (ah_attr->sl & 7) << 13; in create_iboe_ah()
114 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c642 u16 vlan_tag; in be_get_tx_vlan_tag() local
644 vlan_tag = vlan_tx_tag_get(skb); in be_get_tx_vlan_tag()
645 vlan_prio = (vlan_tag & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in be_get_tx_vlan_tag()
648 vlan_tag = (vlan_tag & ~VLAN_PRIO_MASK) | in be_get_tx_vlan_tag()
651 return vlan_tag; in be_get_tx_vlan_tag()
657 u16 vlan_tag; in wrb_fill_hdr() local
678 vlan_tag = be_get_tx_vlan_tag(adapter, skb); in wrb_fill_hdr()
679 AMAP_SET_BITS(struct amap_eth_hdr_wrb, vlan_tag, hdr, vlan_tag); in wrb_fill_hdr()
777 u16 vlan_tag = 0; in be_insert_vlan_in_pkt() local
784 vlan_tag = be_get_tx_vlan_tag(adapter, skb); in be_insert_vlan_in_pkt()
[all …]
Dbe_hw.h299 u8 vlan_tag[16]; member
345 u8 vlan_tag[16]; /* dword 0 */ member
379 u8 vlan_tag[16]; /* dword 0 */ member
Dbe.h250 u16 vlan_tag; member
320 u16 vlan_tag; member
386 u8 vlan_tag[VLAN_N_VID]; member
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c497 int real_size, u16 *vlan_tag, int tx_ind, void *fragptr) in build_inline_wqe() argument
572 u16 vlan_tag = 0; in mlx4_en_xmit() local
597 vlan_tag = vlan_tx_tag_get(skb); in mlx4_en_xmit()
657 tx_desc->ctrl.vlan_tag = cpu_to_be16(vlan_tag); in mlx4_en_xmit()
745 build_inline_wqe(tx_desc, skb, real_size, &vlan_tag, tx_ind, fragptr); in mlx4_en_xmit()
758 *(__be32 *) (&tx_desc->ctrl.vlan_tag) |= cpu_to_be32(ring->doorbell_qpn); in mlx4_en_xmit()
/drivers/net/ethernet/stmicro/stmmac/
Ddescs.h43 u32 vlan_tag:1; member
74 u32 vlan_tag:1; member
Dnorm_desc.c119 if (p->des01.rx.vlan_tag) in ndesc_get_rx_status()
120 x->vlan_tag++; in ndesc_get_rx_status()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ctl_defs.h89 u16 vlan_tag; member
/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h373 u16 vlan_tag; member
397 u16 vlan_tag; member
Dbfi_enet.h87 u16 vlan_tag; member
156 u16 vlan_tag; member
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h103 u16 vlan_tag; member
169 u16 vlan_tag; member
/drivers/net/ethernet/atheros/atlx/
Datl1.c1958 rrd->vlan_tag); in atl1_intr_rx()
2023 u16 vlan_tag = (rrd->vlan_tag >> 4) | in atl1_intr_rx() local
2024 ((rrd->vlan_tag & 7) << 13) | in atl1_intr_rx()
2025 ((rrd->vlan_tag & 8) << 9); in atl1_intr_rx()
2027 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl1_intr_rx()
2363 u16 vlan_tag; in atl1_xmit_frame() local
2414 vlan_tag = vlan_tx_tag_get(skb); in atl1_xmit_frame()
2415 vlan_tag = (vlan_tag << 4) | (vlan_tag >> 13) | in atl1_xmit_frame()
2416 ((vlan_tag >> 9) & 0x8); in atl1_xmit_frame()
2418 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
Datl2.c451 u16 vlan_tag = (rxd->status.vtag>>4) | in atl2_intr_rx() local
455 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl2_intr_rx()
892 u16 vlan_tag = vlan_tx_tag_get(skb); in atl2_xmit_frame() local
893 vlan_tag = (vlan_tag << 4) | in atl2_xmit_frame()
894 (vlan_tag >> 13) | in atl2_xmit_frame()
895 ((vlan_tag >> 9) & 0x8); in atl2_xmit_frame()
897 txph->vlan = vlan_tag; in atl2_xmit_frame()
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h158 __le16 vlan_tag; member
261 __le16 vlan_tag; member
/drivers/net/ethernet/alteon/
Dacenic.c2402 u32 flagsize, u32 vlan_tag) in ace_load_tx_bd() argument
2413 writel(vlan_tag, &io->vlanres); in ace_load_tx_bd()
2418 desc->vlanres = vlan_tag; in ace_load_tx_bd()
2440 u32 vlan_tag = 0; in ace_start_xmit() local
2448 vlan_tag = vlan_tx_tag_get(skb); in ace_start_xmit()
2457 ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag); in ace_start_xmit()
2460 u32 vlan_tag = 0; in ace_start_xmit() local
2469 vlan_tag = vlan_tx_tag_get(skb); in ace_start_xmit()
2472 ace_load_tx_bd(ap, ap->tx_ring + idx, mapping, flagsize, vlan_tag); in ace_start_xmit()
2508 ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag); in ace_start_xmit()
/drivers/scsi/bnx2fc/
D57xx_hsi_bnx2fc.h411 __le16 vlan_tag; member
477 u16 vlan_tag; member
Dbnx2fc_hwi.c237 ofld_req3.vlan_tag = interface->vlan_id << in bnx2fc_send_session_ofld_req()
239 ofld_req3.vlan_tag |= 3 << FCOE_KWQE_CONN_OFFLOAD3_PRIORITY_SHIFT; in bnx2fc_send_session_ofld_req()
404 enbl_req.vlan_tag = interface->vlan_id << in bnx2fc_send_session_enable_req()
406 enbl_req.vlan_tag |= 3 << FCOE_KWQE_CONN_ENABLE_DISABLE_PRIORITY_SHIFT; in bnx2fc_send_session_enable_req()
469 disable_req.vlan_tag = interface->vlan_id << in bnx2fc_send_session_disable_req()
471 disable_req.vlan_tag |= in bnx2fc_send_session_disable_req()
/drivers/scsi/lpfc/
Dlpfc_sli4.h273 uint16_t vlan_tag; member
296 uint16_t vlan_tag; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h241 u16 vlan_tag; member

123