/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_ah.c | 75 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 179 status = rdma_read_gid_l2_fields(sgid_attr, &vlan_tag, NULL); in ocrdma_create_ah() 191 &isvlan, vlan_tag); in ocrdma_create_ah() [all …]
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_res.h | 46 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()
|
A D | wq_enet_desc.h | 29 __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()
|
A D | enic_main.c | 569 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_vlan() argument 588 vlan_tag, eop, loopback); in enic_queue_wq_skb_vlan() 702 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_tso() 762 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_encap() 775 unsigned int vlan_tag = 0; in enic_queue_wq_skb() local 783 vlan_tag = skb_vlan_tag_get(skb); in enic_queue_wq_skb() 785 vlan_tag = enic->loop_tag; in enic_queue_wq_skb() 791 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb() 795 vlan_tag, loopback); in enic_queue_wq_skb() 798 vlan_tag, loopback); in enic_queue_wq_skb() [all …]
|
/linux/drivers/scsi/snic/ |
A D | wq_enet_desc.h | 27 __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()
|
A D | snic_res.h | 68 unsigned int vlan_tag, in snic_queue_wq_eth_desc() argument 83 (u16)vlan_tag, in snic_queue_wq_eth_desc()
|
/linux/drivers/scsi/fnic/ |
A D | wq_enet_desc.h | 27 __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()
|
A D | fnic_res.h | 34 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()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | ah.c | 85 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() 168 int slave_sgid_index, u8 *s_mac, u16 vlan_tag) in mlx4_ib_create_ah_slave() argument 190 if (vlan_tag < 0x1000) in mlx4_ib_create_ah_slave() 191 vlan_tag |= (rdma_ah_get_sl(ah_attr) & 7) << 13; in mlx4_ib_create_ah_slave() 192 mah->av.eth.vlan = cpu_to_be16(vlan_tag); in mlx4_ib_create_ah_slave()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_hw.h | 239 u8 vlan_tag[16]; member 303 u8 vlan_tag[16]; /* dword 0 */ member 337 u8 vlan_tag[16]; /* dword 0 */ member
|
A D | be_main.c | 791 u16 vlan_tag; in be_get_tx_vlan_tag() local 797 vlan_tag = (vlan_tag & ~VLAN_PRIO_MASK) | in be_get_tx_vlan_tag() 800 return vlan_tag; in be_get_tx_vlan_tag() 892 SET_TX_WRB_HDR_BITS(vlan_tag, hdr, wrb_params->vlan_tag); in wrb_fill_hdr() 1048 u16 vlan_tag = 0; in be_insert_vlan_in_pkt() local 1072 vlan_tag); in be_insert_vlan_in_pkt() 1082 vlan_tag); in be_insert_vlan_in_pkt() 2005 vf_cfg->vlan_tag = vlan; in be_set_vf_vlan() 2501 rxcp->vlan_tag = GET_RX_COMPL_V1_BITS(vlan_tag, compl); in be_parse_rx_compl_v1() 2524 rxcp->vlan_tag = GET_RX_COMPL_V0_BITS(vlan_tag, compl); in be_parse_rx_compl_v0() [all …]
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_desc.c | 176 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()
|
A D | sxgbe_desc.h | 130 u32 vlan_tag:16; member 233 int is_vlanvalid, int vlan_tag);
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_txrx_lib.c | 209 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb() argument 212 (vlan_tag & VLAN_VID_MASK)) in ice_receive_skb() 213 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in ice_receive_skb()
|
A D | ice_txrx_lib.h | 58 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag);
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_fp.c | 641 struct sk_buff *skb, u16 vlan_tag) in qede_skb_receive() argument 643 if (vlan_tag) in qede_skb_receive() 644 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in qede_skb_receive() 865 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in qede_tpa_start() 867 tpa_info->vlan_tag = 0; in qede_tpa_start() 918 u16 vlan_tag) in qede_gro_receive() argument 952 qede_skb_receive(edev, fp, fp->rxq, skb, vlan_tag); in qede_gro_receive() 1015 qede_gro_receive(edev, fp, skb, tpa_info->vlan_tag); in qede_tpa_end() 1332 qede_skb_receive(edev, fp, rxq, skb, le16_to_cpu(fp_cqe->vlan_tag)); in qede_rx_process_cqe()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_tx.c | 441 u16 vlan_tag, u16 vlan_pri) in offload_vlan() argument 443 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(vlan_tag, VLAN_TAG) | in offload_vlan() 453 u16 vlan_tag; in hinic_tx_offload() local 468 vlan_tag = skb_vlan_tag_get(skb); in hinic_tx_offload() 469 offload_vlan(task, queue_info, vlan_tag, in hinic_tx_offload() 470 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()
|
/linux/include/linux/qed/ |
A D | eth_common.h | 217 __le16 vlan_tag; member 270 __le16 vlan_tag; member
|
A D | qed_fcoe_if.h | 49 u16 vlan_tag; member
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | cxgb3_ctl_defs.h | 89 u16 vlan_tag; member
|
/linux/drivers/net/ethernet/ibm/ehea/ |
A D | ehea_qmr.h | 89 u16 vlan_tag; member 155 u16 vlan_tag; member
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bna_hw_defs.h | 370 u16 vlan_tag; member 394 u16 vlan_tag; member
|
/linux/drivers/infiniband/hw/irdma/ |
A D | uda.h | 20 u16 vlan_tag; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_fcoe.c | 75 u16 vlan_tag; member 286 p_data->vlan_tag = cpu_to_le16(p_conn->vlan_tag); in qed_sp_fcoe_conn_offload() 926 con->vlan_tag = conn_info->vlan_tag; in qed_fcoe_offload_conn()
|
/linux/drivers/net/ethernet/atheros/atlx/ |
A D | atl1.c | 1943 rrd->vlan_tag); in atl1_intr_rx() 2008 u16 vlan_tag = (rrd->vlan_tag >> 4) | in atl1_intr_rx() local 2009 ((rrd->vlan_tag & 7) << 13) | in atl1_intr_rx() 2010 ((rrd->vlan_tag & 8) << 9); in atl1_intr_rx() 2012 __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()
|