Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/net/ethernet/cisco/enic/
Denic_res.h33 int vlan_tag_insert, unsigned int vlan_tag, in enic_queue_wq_desc_ex() argument
49 (u16)vlan_tag, in enic_queue_wq_desc_ex()
67 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc() argument
70 0, 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc()
78 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum() argument
82 0, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum()
90 int vlan_tag_insert, unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_csum_l4() argument
93 csum_offset, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_csum_l4()
101 unsigned int vlan_tag, int eop, int loopback) in enic_queue_wq_desc_tso() argument
104 mss, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_tso()
Dwq_enet_desc.h16 __le16 vlan_tag; member
43 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) in wq_enet_desc_enc() argument
56 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
62 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) in wq_enet_desc_dec() argument
82 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Denic_main.c569 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_vlan() argument
588 vlan_tag, eop, loopback); in enic_queue_wq_skb_vlan()
598 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_csum_l4() argument
619 hdr_len, vlan_tag_insert, vlan_tag, eop, in enic_queue_wq_skb_csum_l4()
670 int vlan_tag_insert, unsigned int vlan_tag, in enic_queue_wq_skb_tso() argument
701 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_tso()
741 unsigned int vlan_tag, int loopback) in enic_queue_wq_skb_encap() argument
761 vlan_tag_insert, vlan_tag, in enic_queue_wq_skb_encap()
774 unsigned int vlan_tag = 0; in enic_queue_wq_skb() local
782 vlan_tag = skb_vlan_tag_get(skb); in enic_queue_wq_skb()
[all …]
/linux-6.1.9/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
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-6.1.9/drivers/scsi/snic/
Dwq_enet_desc.h13 __le16 vlan_tag; member
40 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) in wq_enet_desc_enc() argument
53 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
59 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) in wq_enet_desc_dec() argument
79 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Dsnic_res.h54 unsigned int vlan_tag, in snic_queue_wq_eth_desc() argument
69 (u16)vlan_tag, in snic_queue_wq_eth_desc()
/linux-6.1.9/drivers/scsi/fnic/
Dwq_enet_desc.h15 __le16 vlan_tag; member
42 u8 vlan_tag_insert, u16 vlan_tag, u8 loopback) in wq_enet_desc_enc() argument
55 desc->vlan_tag = cpu_to_le16(vlan_tag); in wq_enet_desc_enc()
61 u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback) in wq_enet_desc_dec() argument
81 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Dfnic_res.h22 unsigned int vlan_tag, in fnic_queue_wq_desc() argument
36 (u16)vlan_tag, in fnic_queue_wq_desc()
46 unsigned int vlan_tag, in fnic_queue_wq_eth_desc() argument
61 (u16)vlan_tag, in fnic_queue_wq_eth_desc()
/linux-6.1.9/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()
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-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c103 u32 vlan_tag; in nfp_app_set_vf_vlan() local
131 vlan_tag = FIELD_PREP(NFP_NET_VF_CFG_VLAN_VID, vlan) | in nfp_app_set_vf_vlan()
138 if (vlan_tag && is_proto_sup) in nfp_app_set_vf_vlan()
139 vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto)); in nfp_app_set_vf_vlan()
142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
265 u32 vlan_tag; in nfp_app_get_vf_config() local
280 vlan_tag = readl(app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_get_vf_config()
288 ivi->vlan = FIELD_GET(NFP_NET_VF_CFG_VLAN_VID, vlan_tag); in nfp_app_get_vf_config()
289 ivi->qos = FIELD_GET(NFP_NET_VF_CFG_VLAN_QOS, vlan_tag); in nfp_app_get_vf_config()
291 ivi->vlan_proto = htons(FIELD_GET(NFP_NET_VF_CFG_VLAN_PROT, vlan_tag)); in nfp_app_get_vf_config()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c210 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag) in ice_receive_skb() argument
213 bool non_zero_vlan = !!(vlan_tag & VLAN_VID_MASK); in ice_receive_skb()
216 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in ice_receive_skb()
218 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021AD), vlan_tag); in ice_receive_skb()
Dice_txrx_lib.h82 ice_receive_skb(struct ice_rx_ring *rx_ring, struct sk_buff *skb, u16 vlan_tag);
/linux-6.1.9/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.c791 u16 vlan_tag; in be_get_tx_vlan_tag() local
793 vlan_tag = skb_vlan_tag_get(skb); in be_get_tx_vlan_tag()
797 vlan_tag = (vlan_tag & ~VLAN_PRIO_MASK) | in be_get_tx_vlan_tag()
800 return vlan_tag; in be_get_tx_vlan_tag()
857 wrb_params->vlan_tag = be_get_tx_vlan_tag(adapter, skb); in be_get_wrb_params_from_skb()
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
1055 vlan_tag = be_get_tx_vlan_tag(adapter, skb); in be_insert_vlan_in_pkt()
1061 vlan_tag = adapter->pvid; in be_insert_vlan_in_pkt()
1072 vlan_tag); in be_insert_vlan_in_pkt()
[all …]
/linux-6.1.9/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);
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c440 u16 vlan_tag, u16 vlan_pri) in offload_vlan() argument
442 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(vlan_tag, VLAN_TAG) | in offload_vlan()
452 u16 vlan_tag; in hinic_tx_offload() local
467 vlan_tag = skb_vlan_tag_get(skb); in hinic_tx_offload()
468 offload_vlan(task, queue_info, vlan_tag, in hinic_tx_offload()
469 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c640 struct sk_buff *skb, u16 vlan_tag) in qede_skb_receive() argument
642 if (vlan_tag) in qede_skb_receive()
643 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in qede_skb_receive()
867 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in qede_tpa_start()
869 tpa_info->vlan_tag = 0; in qede_tpa_start()
920 u16 vlan_tag) in qede_gro_receive() argument
954 qede_skb_receive(edev, fp, fp->rxq, skb, vlan_tag); in qede_gro_receive()
1017 qede_gro_receive(edev, fp, skb, tpa_info->vlan_tag); in qede_tpa_end()
1334 qede_skb_receive(edev, fp, rxq, skb, le16_to_cpu(fp_cqe->vlan_tag)); in qede_rx_process_cqe()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ctl_defs.h89 u16 vlan_tag; member
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c896 struct sk_buff *skb, u16 vlan_tag) in iavf_receive_skb() argument
901 (vlan_tag & VLAN_VID_MASK)) in iavf_receive_skb()
902 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in iavf_receive_skb()
904 vlan_tag & VLAN_VID_MASK) in iavf_receive_skb()
905 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021AD), vlan_tag); in iavf_receive_skb()
1508 u16 vlan_tag = 0; in iavf_clean_rx_irq() local
1593 vlan_tag = le16_to_cpu(rx_desc->wb.qword0.lo_dword.l2tag1); in iavf_clean_rx_irq()
1597 vlan_tag = le16_to_cpu(rx_desc->wb.qword2.l2tag2_2); in iavf_clean_rx_irq()
1600 iavf_receive_skb(rx_ring, skb, vlan_tag); in iavf_clean_rx_irq()
/linux-6.1.9/include/linux/qed/
Deth_common.h217 __le16 vlan_tag; member
270 __le16 vlan_tag; member
Dqed_fcoe_if.h49 u16 vlan_tag; member
/linux-6.1.9/drivers/infiniband/hw/irdma/
Duda.h20 u16 vlan_tag; member
/linux-6.1.9/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.h89 u16 vlan_tag; member
155 u16 vlan_tag; member
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h370 u16 vlan_tag; member
394 u16 vlan_tag; member

12345