Home
last modified time | relevance | path

Searched refs:vesw_id (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema_iface.c67 trap_data.veswid = info->vesw.vesw_id; in opa_vnic_vema_report_event()
97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters()
136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_error_counters()
168 info->vesw_id = cpu_to_be16(src->vesw_id); in opa_vnic_get_vesw_info()
202 dst->vesw_id = be16_to_cpu(info->vesw_id); in opa_vnic_set_vesw_info()
Dopa_vnic_encap.h130 __be16 vesw_id; member
302 __be16 vesw_id; member
365 __be16 vesw_id; member
Dopa_vnic_internal.h80 u16 vesw_id; member
Dopa_vnic_netdev.c160 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
Dopa_vnic_encap.c498 l4_hdr = info->vesw.vesw_id; in opa_vnic_encap_skb()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dvnic_main.c529 int l4_type, vesw_id = -1; in hfi1_vnic_bypass_rcv() local
534 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf); in hfi1_vnic_bypass_rcv()
535 vinfo = idr_find(&dd->vnic.vesw_idr, vesw_id); in hfi1_vnic_bypass_rcv()
556 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv()
596 if (!vinfo->vesw_id) in hfi1_vnic_up()
599 rc = idr_alloc(&dd->vnic.vesw_idr, vinfo, vinfo->vesw_id, in hfi1_vnic_up()
600 vinfo->vesw_id + 1, GFP_NOWAIT); in hfi1_vnic_up()
626 idr_remove(&dd->vnic.vesw_idr, vinfo->vesw_id); in hfi1_vnic_down()
762 if (id != vinfo->vesw_id) { in hfi1_vnic_set_vesw_id()
769 vinfo->vesw_id = id; in hfi1_vnic_set_vesw_id()
Dvnic.h133 u16 vesw_id; member