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

/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c67 trap_data.veswid = info->vesw.vesw_id;
97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id);
136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id);
168 info->vesw_id = cpu_to_be16(src->vesw_id);
202 dst->vesw_id = be16_to_cpu(info->vesw_id);
H A Dopa_vnic_encap.h120 * @vesw_id: 12-bit virtual ethernet switch id
135 __be16 vesw_id; member in struct:opa_vesw_info
276 * @vesw_id: virtual ethernet switch id
312 __be16 vesw_id; member in struct:opa_veswport_summary_counters
356 * @vesw_id: virtual ethernet switch id
385 __be16 vesw_id; member in struct:opa_veswport_error_counters
H A Dopa_vnic_internal.h80 u16 vesw_id; member in struct:__opa_vesw_info
H A Dopa_vnic_netdev.c157 rn->set_id(netdev, info->vesw.vesw_id);
H A Dopa_vnic_encap.c499 l4_hdr = info->vesw.vesw_id;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c312 int vesw_id)
314 int vnic_id = VNIC_ID(vesw_id);
338 int l4_type, vesw_id = -1, rc; local
344 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf);
345 vinfo = get_vnic_port(dd, vesw_id);
365 l4_type, vesw_id, packet->rcd->ctxt);
411 if (!vinfo->vesw_id)
414 rc = hfi1_netdev_add_data(dd, VNIC_ID(vinfo->vesw_id), vinfo);
429 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id));
440 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id));
311 get_vnic_port(struct hfi1_devdata *dd, int vesw_id) argument
[all...]
H A Dvnic.h76 * @vesw_id: virtual switch id
91 u16 vesw_id; member in struct:hfi1_vnic_vport_info

Completed in 162 milliseconds