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

/freebsd-11.0-release/sys/ofed/drivers/infiniband/core/
H A Dcache.c61 static inline int start_port(struct ib_device *device) function
81 if (port_num < start_port(device) || port_num > end_port(device))
87 cache = device->cache.gid_cache[port_num - start_port(device)];
118 for (p = 0; p <= end_port(device) - start_port(device); ++p) {
124 *port_num = p + start_port(device);
147 if (port_num < start_port(device) || port_num > end_port(device))
153 cache = device->cache.pkey_cache[port_num - start_port(device)];
178 if (port_num < start_port(device) || port_num > end_port(device))
188 cache = device->cache.pkey_cache[port_num - start_port(device)];
222 if (port_num < start_port(devic
[all...]
H A Ddevice.c152 static int start_port(struct ib_device *device) function
238 num_ports = end_port(device) - start_port(device) + 1;
248 ret = ib_query_port(device, port_index + start_port(device),
581 if (port_num < start_port(device) || port_num > end_port(device))
659 if (port_num < start_port(device) || port_num > end_port(device))
682 for (port = start_port(device); port <= end_port(device); ++port) {
683 for (i = 0; i < device->gid_tbl_len[port - start_port(device)]; ++i) {
715 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) {
H A Dmulticast.c87 int start_port; member in struct:mcast_device
657 member->group = acquire_group(&dev->port[port_num - dev->start_port],
725 port = &dev->port[port_num - dev->start_port];
801 index = event->element.port_num - dev->start_port;
833 dev->start_port = dev->end_port = 0;
835 dev->start_port = 1;
839 for (i = 0; i <= dev->end_port - dev->start_port; i++) {
840 if (rdma_port_get_link_layer(device, dev->start_port + i) !=
845 port->port_num = dev->start_port + i;
878 for (i = 0; i <= dev->end_port - dev->start_port;
[all...]
H A Dsa_query.c69 int start_port, end_port; member in struct:ib_sa_device
450 &sa_dev->port[event->element.port_num - sa_dev->start_port];
462 sa_dev->start_port].update_task);
519 port = &sa_dev->port[port_num - sa_dev->start_port];
733 port = &sa_dev->port[port_num - sa_dev->start_port];
850 port = &sa_dev->port[port_num - sa_dev->start_port];
947 port = &sa_dev->port[port_num - sa_dev->start_port];
1044 port = &sa_dev->port[port_num - sa_dev->start_port];
1167 sa_dev->start_port = s;
1233 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port;
[all...]
H A Duser_mad.c100 int start_port, end_port; member in struct:ib_umad_device
150 for (i = 0; i <= dev->end_port - dev->start_port; ++i) {
171 for (i = 0; i <= dev->end_port - dev->start_port; ++i) {
1214 umad_dev->start_port = s;
1246 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i)
/freebsd-11.0-release/contrib/ofed/management/infiniband-diags/src/
H A Dperfquery.c354 int start_port = 1; local
476 start_port = 0;
486 for (i = start_port; i <= num_ports; i++)
505 for (i = start_port; i <= num_ports; i++)

Completed in 79 milliseconds