Lines Matching defs:port_id
113 return ibmp->port_id;
118 return srcport->port_id;
129 _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len,
162 if (umad_send(port_id, agentid, sndbuf, length, timeout, 0) < 0) {
171 if (umad_recv(port_id, rcvbuf, &length, timeout) < 0) {
238 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf,
303 if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf,
379 ibmp->port_id = fd;
397 int port_id;
418 if ((port_id = umad_open_port(dev_name, dev_port)) < 0) {
426 p->port_id = port_id;
443 umad_close_port(port_id);
454 umad_close_port(port->port_id);