Searched refs:umad_port (Results 1 – 7 of 7) sorted by relevance
683 if (umad_get_port(name, i, &p_vend->umad_port) < 0) { in osm_vendor_open_port()689 if ((umad_port_id = umad_open_port(p_vend->umad_port.ca_name, in osm_vendor_open_port()690 p_vend->umad_port.portnum)) < 0) { in osm_vendor_open_port()703 umad_release_port(&p_vend->umad_port); in osm_vendor_open_port()704 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port()712 umad_release_port(&p_vend->umad_port); in osm_vendor_open_port()713 p_vend->umad_port.port_guid = 0; in osm_vendor_open_port()739 umad_release_port(&p_vend->umad_port); in osm_vendor_close_port()740 p_vend->umad_port.port_guid = 0; in osm_vendor_close_port()792 if (umad_get_issm_path(p_vend->umad_port.ca_name, in osm_vendor_bind()[all …]
220 if (umad_get_port(p_vend->umad_port.ca_name, in update_umad_port()221 p_vend->umad_port.portnum, &port) < 0) in update_umad_port()223 p_vend->umad_port.base_lid = port.base_lid; in update_umad_port()224 p_vend->umad_port.sm_lid = port.sm_lid; in update_umad_port()424 cl_hton16(p_bind->p_vendor->umad_port.sm_lid); in __osmv_send_sa_req()426 cl_hton16(p_bind->p_vendor->umad_port.base_lid); in __osmv_send_sa_req()
161 umad_port_t umad_port; member
138 static struct ib_umad_port *umad_port[IB_UMAD_MAX_PORTS]; variable799 port = umad_port[iminor(inode) - IB_UMAD_MINOR_BASE]; in ib_umad_open()897 port = umad_port[iminor(inode) - IB_UMAD_MINOR_BASE - IB_UMAD_MAX_PORTS]; in ib_umad_sm_open()1053 umad_port[port->dev_num] = port; in ib_umad_init_port()1090 umad_port[port->dev_num] = NULL; in ib_umad_kill_port()
122 typedef struct umad_port { struct
463 unsigned umad_port; in dev_to_umad_id() local467 if (umad_id_to_dev(id, umad_dev, &umad_port) < 0) in dev_to_umad_id()471 if (port != umad_port) in dev_to_umad_id()
17 umad_port: encapsulate an IB port within an IB device. Identified by CA_NAME