ib_get_agent_port
port_priv = ib_get_agent_port(device, 0);
port_priv = ib_get_agent_port(device, port_num);