__ib_get_agent_port
port_priv = __ib_get_agent_port(device, port_num);
entry = __ib_get_agent_port(device, port_num);