Lines Matching defs:vesw_id
312 int vesw_id)
314 int vnic_id = VNIC_ID(vesw_id);
338 int l4_type, vesw_id = -1, rc;
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));
517 * If vesw_id is being changed, and if the vnic port is up,
518 * reset the vnic port to ensure new vesw_id gets picked up
520 if (id != vinfo->vesw_id) {
527 vinfo->vesw_id = id;