Home
last modified time | relevance | path

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

/Linux-v5.4/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.c158 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
Dopa_vnic_encap.c499 l4_hdr = info->vesw.vesw_id; in opa_vnic_encap_skb()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dvnic_main.c530 int l4_type, vesw_id = -1; in hfi1_vnic_bypass_rcv() local
535 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf); in hfi1_vnic_bypass_rcv()
536 vinfo = xa_load(&dd->vnic.vesws, vesw_id); in hfi1_vnic_bypass_rcv()
558 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv()
598 if (!vinfo->vesw_id) in hfi1_vnic_up()
601 rc = xa_insert(&dd->vnic.vesws, vinfo->vesw_id, vinfo, GFP_KERNEL); in hfi1_vnic_up()
627 xa_erase(&dd->vnic.vesws, vinfo->vesw_id); in hfi1_vnic_down()
761 if (id != vinfo->vesw_id) { in hfi1_vnic_set_vesw_id()
768 vinfo->vesw_id = id; in hfi1_vnic_set_vesw_id()
Dvnic.h133 u16 vesw_id; member