Home
last modified time | relevance | path

Searched refs:start_port (Results 1 – 6 of 6) sorted by relevance

/NextBSD/sys/ofed/drivers/infiniband/core/
HDcache.c61 static inline int start_port(struct ib_device *device) in start_port() function
81 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_gid()
87 cache = device->cache.gid_cache[port_num - start_port(device)]; in ib_get_cached_gid()
118 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_find_cached_gid()
124 *port_num = p + start_port(device); in ib_find_cached_gid()
147 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_pkey()
153 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_get_cached_pkey()
178 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_cached_pkey()
188 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_cached_pkey()
222 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_exact_cached_pkey()
[all …]
HDdevice.c152 static int start_port(struct ib_device *device) in start_port() function
238 num_ports = end_port(device) - start_port(device) + 1; in read_port_table_lengths()
248 ret = ib_query_port(device, port_index + start_port(device), in read_port_table_lengths()
581 if (port_num < start_port(device) || port_num > end_port(device)) in ib_query_port()
659 if (port_num < start_port(device) || port_num > end_port(device)) in ib_modify_port()
682 for (port = start_port(device); port <= end_port(device); ++port) { in ib_find_gid()
683 for (i = 0; i < device->gid_tbl_len[port - start_port(device)]; ++i) { in ib_find_gid()
715 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) { in ib_find_pkey()
HDmulticast.c85 int start_port; member
655 member->group = acquire_group(&dev->port[port_num - dev->start_port], in ib_sa_join_multicast()
723 port = &dev->port[port_num - dev->start_port]; in ib_sa_get_mcmember_rec()
799 index = event->element.port_num - dev->start_port; in mcast_event_handler()
831 dev->start_port = dev->end_port = 0; in mcast_add_one()
833 dev->start_port = 1; in mcast_add_one()
837 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_add_one()
838 if (rdma_port_get_link_layer(device, dev->start_port + i) != in mcast_add_one()
843 port->port_num = dev->start_port + i; in mcast_add_one()
876 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_remove_one()
[all …]
HDsa_query.c69 int start_port, end_port; member
450 &sa_dev->port[event->element.port_num - sa_dev->start_port]; in ib_sa_event()
462 sa_dev->start_port].update_task); in ib_sa_event()
519 port = &sa_dev->port[port_num - sa_dev->start_port]; in get_src_path_mask()
733 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_path_rec_get()
850 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_service_rec_query()
947 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_mcmember_rec_query()
1044 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_guid_info_rec_query()
1167 sa_dev->start_port = s; in ib_sa_add_one()
1233 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) { in ib_sa_remove_one()
HDuser_mad.c100 int start_port, end_port; member
150 for (i = 0; i <= dev->end_port - dev->start_port; ++i) { in remove_ports()
171 for (i = 0; i <= dev->end_port - dev->start_port; ++i) { in put_umad_dev()
1214 umad_dev->start_port = s; in ib_umad_add_one()
1246 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i) in ib_umad_remove_one()
/NextBSD/contrib/ofed/management/infiniband-diags/src/
HDperfquery.c354 int start_port = 1; in main() local
476 start_port = 0; in main()
486 for (i = start_port; i <= num_ports; i++) in main()
505 for (i = start_port; i <= num_ports; i++) in main()