Lines Matching refs:vesw_id
312 int vesw_id) in get_vnic_port() argument
314 int vnic_id = VNIC_ID(vesw_id); in get_vnic_port()
338 int l4_type, vesw_id = -1, rc; in hfi1_vnic_bypass_rcv() local
344 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf); in hfi1_vnic_bypass_rcv()
345 vinfo = get_vnic_port(dd, vesw_id); in hfi1_vnic_bypass_rcv()
365 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv()
411 if (!vinfo->vesw_id) in hfi1_vnic_up()
414 rc = hfi1_netdev_add_data(dd, VNIC_ID(vinfo->vesw_id), vinfo); in hfi1_vnic_up()
429 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_up()
440 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_down()
520 if (id != vinfo->vesw_id) { in hfi1_vnic_set_vesw_id()
527 vinfo->vesw_id = id; in hfi1_vnic_set_vesw_id()