Home
last modified time | relevance | path

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

1234

/drivers/net/ethernet/cisco/enic/
Denic_res.h46 int vlan_tag_insert, unsigned int vlan_tag, in enic_queue_wq_desc_ex() argument
62 (u16)vlan_tag, in enic_queue_wq_desc_ex()
80 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc() argument
83 0, 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc()
91 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum() argument
95 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum()
103 int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum_l4() argument
106 csum_offset, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum_l4()
114 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_tso() argument
117 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.c604 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_vlan() argument
623 vlan_tag, eop, loopback); in enic_queue_wq_skb_vlan()
633 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_csum_l4() argument
654 hdr_len, vlan_tag_insert, vlan_tag, eop, in enic_queue_wq_skb_csum_l4()
706 int vlan_tag_insert, unsigned int vlan_tag, in enic_queue_wq_skb_tso() argument
737 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_tso()
777 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_encap() argument
797 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_encap()
810 unsigned int vlan_tag = 0; in enic_queue_wq_skb() local
818 vlan_tag = skb_vlan_tag_get(skb); in enic_queue_wq_skb()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c75 int pdid, bool *isvlan, u16 vlan_tag) in set_av_attr() argument
99 if (!vlan_tag || (vlan_tag > 0xFFF)) in set_av_attr()
100 vlan_tag = dev->pvid; in set_av_attr()
101 if (vlan_tag || dev->pfc_state) { in set_av_attr()
102 if (!vlan_tag) { in set_av_attr()
110 vlan_tag |= (dev->sl & 0x07) << OCRDMA_VID_PCP_SHIFT; in set_av_attr()
111 eth.vlan_tag = cpu_to_be16(vlan_tag); in set_av_attr()
165 u16 vlan_tag = 0xffff; in ocrdma_create_ah() local
178 status = rdma_read_gid_l2_fields(sgid_attr, &vlan_tag, NULL); in ocrdma_create_ah()
190 &isvlan, vlan_tag); in ocrdma_create_ah()
[all …]
/drivers/scsi/snic/
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()
Dsnic_res.h68 unsigned int vlan_tag, in snic_queue_wq_eth_desc() argument
83 (u16)vlan_tag, in snic_queue_wq_eth_desc()
/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/mlx4/
Dah.c85 u16 vlan_tag = 0xffff; in create_iboe_ah() local
102 ret = rdma_read_gid_l2_fields(gid_attr, &vlan_tag, in create_iboe_ah()
116 if (vlan_tag < 0x1000) in create_iboe_ah()
117 vlan_tag |= (rdma_ah_get_sl(ah_attr) & 7) << 13; in create_iboe_ah()
120 ah->av.eth.vlan = cpu_to_be16(vlan_tag); in create_iboe_ah()
167 int slave_sgid_index, u8 *s_mac, u16 vlan_tag) in mlx4_ib_create_ah_slave() argument
187 if (vlan_tag < 0x1000) in mlx4_ib_create_ah_slave()
188 vlan_tag |= (rdma_ah_get_sl(ah_attr) & 7) << 13; in mlx4_ib_create_ah_slave()
189 mah->av.eth.vlan = cpu_to_be16(vlan_tag); in mlx4_ib_create_ah_slave()
/drivers/infiniband/hw/hns/
Dhns_roce_ah.c49 u16 vlan_tag = 0xffff; in hns_roce_create_ah() local
55 ret = rdma_read_gid_l2_fields(gid_attr, &vlan_tag, NULL); in hns_roce_create_ah()
62 if (vlan_tag < VLAN_CFI_MASK) { in hns_roce_create_ah()
64 vlan_tag |= (rdma_ah_get_sl(ah_attr) & in hns_roce_create_ah()
71 ah->av.vlan = vlan_tag; in hns_roce_create_ah()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h239 u8 vlan_tag[16]; member
303 u8 vlan_tag[16]; /* dword 0 */ member
337 u8 vlan_tag[16]; /* dword 0 */ member
Dbe_main.c792 u16 vlan_tag; in be_get_tx_vlan_tag() local
794 vlan_tag = skb_vlan_tag_get(skb); in be_get_tx_vlan_tag()
798 vlan_tag = (vlan_tag & ~VLAN_PRIO_MASK) | in be_get_tx_vlan_tag()
801 return vlan_tag; in be_get_tx_vlan_tag()
858 wrb_params->vlan_tag = be_get_tx_vlan_tag(adapter, skb); in be_get_wrb_params_from_skb()
893 SET_TX_WRB_HDR_BITS(vlan_tag, hdr, wrb_params->vlan_tag); in wrb_fill_hdr()
1049 u16 vlan_tag = 0; in be_insert_vlan_in_pkt() local
1056 vlan_tag = be_get_tx_vlan_tag(adapter, skb); in be_insert_vlan_in_pkt()
1062 vlan_tag = adapter->pvid; in be_insert_vlan_in_pkt()
1073 vlan_tag); in be_insert_vlan_in_pkt()
[all …]
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_desc.c176 int is_vlanvalid, int vlan_tag) in sxgbe_tx_ctxt_desc_set_vlantag() argument
180 p->vlan_tag = vlan_tag; in sxgbe_tx_ctxt_desc_set_vlantag()
187 return p->vlan_tag; in sxgbe_tx_ctxt_desc_get_vlantag()
Dsxgbe_desc.h130 u32 vlan_tag:16; member
233 int is_vlanvalid, int vlan_tag);
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c411 u16 vlan_tag, u16 vlan_pri) in offload_vlan() argument
413 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(vlan_tag, VLAN_TAG) | in offload_vlan()
423 u16 vlan_tag; in hinic_tx_offload() local
438 vlan_tag = skb_vlan_tag_get(skb); in hinic_tx_offload()
439 offload_vlan(task, queue_info, vlan_tag, in hinic_tx_offload()
440 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c617 struct sk_buff *skb, u16 vlan_tag) in qede_skb_receive() argument
619 if (vlan_tag) in qede_skb_receive()
620 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in qede_skb_receive()
841 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in qede_tpa_start()
843 tpa_info->vlan_tag = 0; in qede_tpa_start()
894 u16 vlan_tag) in qede_gro_receive() argument
928 qede_skb_receive(edev, fp, fp->rxq, skb, vlan_tag); in qede_gro_receive()
991 qede_gro_receive(edev, fp, skb, tpa_info->vlan_tag); in qede_tpa_end()
1292 qede_skb_receive(edev, fp, rxq, skb, le16_to_cpu(fp_cqe->vlan_tag)); in qede_rx_process_cqe()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h688 __le16 vlan_tag; member
714 __le16 vlan_tag; member
734 __le16 vlan_tag; member
747 __le16 vlan_tag; member
866 __le16 vlan_tag; member
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ctl_defs.h89 u16 vlan_tag; member
/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h370 u16 vlan_tag; member
394 u16 vlan_tag; member
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h89 u16 vlan_tag; member
155 u16 vlan_tag; member
/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c100 u16 vlan_tag; member
312 p_data->vlan_tag = cpu_to_le16(p_conn->vlan_tag); in qed_sp_fcoe_conn_offload()
949 con->vlan_tag = conn_info->vlan_tag; in qed_fcoe_offload_conn()
/drivers/net/ethernet/atheros/atlx/
Datl1.c1945 rrd->vlan_tag); in atl1_intr_rx()
2010 u16 vlan_tag = (rrd->vlan_tag >> 4) | in atl1_intr_rx() local
2011 ((rrd->vlan_tag & 7) << 13) | in atl1_intr_rx()
2012 ((rrd->vlan_tag & 8) << 9); in atl1_intr_rx()
2014 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl1_intr_rx()
2347 u16 vlan_tag; in atl1_xmit_frame() local
2398 vlan_tag = skb_vlan_tag_get(skb); in atl1_xmit_frame()
2399 vlan_tag = (vlan_tag << 4) | (vlan_tag >> 13) | in atl1_xmit_frame()
2400 ((vlan_tag >> 9) & 0x8); in atl1_xmit_frame()
2402 ptpd->word2 |= (vlan_tag & TPD_VLANTAG_MASK) << in atl1_xmit_frame()
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h144 __le16 vlan_tag; member
247 __le16 vlan_tag; member
/drivers/net/ethernet/intel/ice/
Dice_txrx.c985 ice_receive_skb(struct ice_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb() argument
988 (vlan_tag & VLAN_VID_MASK)) in ice_receive_skb()
989 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in ice_receive_skb()
1018 u16 vlan_tag = 0; in ice_clean_rx_irq() local
1073 vlan_tag = le16_to_cpu(rx_desc->wb.l2tag1); in ice_clean_rx_irq()
1093 ice_receive_skb(rx_ring, skb, vlan_tag); in ice_clean_rx_irq()
/drivers/net/ethernet/alteon/
Dacenic.c2386 u32 flagsize, u32 vlan_tag) in ace_load_tx_bd() argument
2397 writel(vlan_tag, &io->vlanres); in ace_load_tx_bd()
2402 desc->vlanres = vlan_tag; in ace_load_tx_bd()
2424 u32 vlan_tag = 0; in ace_start_xmit() local
2432 vlan_tag = skb_vlan_tag_get(skb); in ace_start_xmit()
2441 ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag); in ace_start_xmit()
2444 u32 vlan_tag = 0; in ace_start_xmit() local
2453 vlan_tag = skb_vlan_tag_get(skb); in ace_start_xmit()
2456 ace_load_tx_bd(ap, ap->tx_ring + idx, mapping, flagsize, vlan_tag); in ace_start_xmit()
2492 ace_load_tx_bd(ap, desc, mapping, flagsize, vlan_tag); in ace_start_xmit()

1234