/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_smi.c | 158 int phys_port_cnt, in __smi_handle_dr_smp_recv() argument 183 return (initial_path[*hop_ptr+1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 217 return (return_path[*hop_ptr-1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 243 int port_num, int phys_port_cnt) in smi_handle_dr_smp_recv() argument 245 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in smi_handle_dr_smp_recv() 259 int port_num, int phys_port_cnt) in opa_smi_handle_dr_smp_recv() argument 261 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv()
|
H A D | opa_smi.h | 44 int port_num, int phys_port_cnt);
|
H A D | smi.h | 56 int port_num, int phys_port_cnt);
|
H A D | ib_cache.c | 470 for (p = 0; p < ib_dev->phys_port_cnt; p++) { in _ib_cache_gid_table_find() 788 table = kcalloc(ib_dev->phys_port_cnt, sizeof(*table), GFP_KERNEL); in _gid_table_setup_one() 796 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in _gid_table_setup_one() 818 for (port = 0; port < ib_dev->phys_port_cnt; port++) { in _gid_table_setup_one() 836 for (port = 0; port < ib_dev->phys_port_cnt; port++) in gid_table_release_one() 851 for (port = 0; port < ib_dev->phys_port_cnt; port++) in gid_table_cleanup_one()
|
H A D | ib_multicast.c | 819 dev = kmalloc(sizeof *dev + device->phys_port_cnt * sizeof *port, in mcast_add_one()
|
H A D | ib_cma.c | 669 for (port = 1; port <= cma_dev->device->phys_port_cnt; ++port) { in cma_acquire_dev() 716 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_resolve_ib_dev() 2916 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_bind_loopback() 4520 cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, in cma_add_one()
|
H A D | ib_sysfs.c | 1351 for (i = 1; i <= device->phys_port_cnt; ++i) { in ib_device_register_sysfs()
|
H A D | ib_cm.c | 4065 ib_device->phys_port_cnt, GFP_KERNEL); in cm_add_one() 4074 for (i = 1; i <= ib_device->phys_port_cnt; i++) { in cm_add_one() 4166 for (i = 1; i <= ib_device->phys_port_cnt; i++) { in cm_remove_one()
|
H A D | ib_mad.c | 2027 port_priv->device->phys_port_cnt) == in handle_ib_smi() 2112 port_priv->device->phys_port_cnt) == in handle_opa_smi()
|
H A D | ib_verbs.c | 1719 for (port = 0; port < qp->device->phys_port_cnt; port++) in is_valid_mcast_lid()
|
H A D | ib_uverbs_cmd.c | 365 resp->phys_port_cnt = ib_dev->phys_port_cnt; in copy_query_dev_fields()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 438 if (ib_port && ib_port > device_attr.orig_attr.phys_port_cnt) { in print_hca_cap() 459 printf("\tphys_port_cnt:\t\t\t%d\n", device_attr.orig_attr.phys_port_cnt); in print_hca_cap() 527 for (port = 1; port <= device_attr.orig_attr.phys_port_cnt; ++port) { in print_hca_cap()
|
/freebsd/sys/ofed/drivers/infiniband/util/ |
H A D | madeye.c | 533 e = device->phys_port_cnt; in madeye_add_one() 575 e = device->phys_port_cnt; in madeye_remove_one()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | provider.c | 450 ibdev->phys_port_cnt = sc->params.nports; in c4iw_register_device()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.c | 283 cma_dev->port = malloc(sizeof(*cma_dev->port) * attr.phys_port_cnt); in ucma_init_device() 289 for (i = 1; i <= attr.phys_port_cnt; i++) { in ucma_init_device() 296 cma_dev->port_cnt = attr.phys_port_cnt; in ucma_init_device()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 220 __u8 phys_port_cnt; member
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 256 __u8 phys_port_cnt; member
|
H A D | cmd.c | 110 device_attr->phys_port_cnt = resp->phys_port_cnt; in copy_query_dev_fields()
|
H A D | verbs.h | 183 uint8_t phys_port_cnt; member
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_sysfs.c | 835 for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) { in mlx4_ib_device_register_sysfs()
|
H A D | mlx4_ib_main.c | 1649 if (flow_attr->port < 1 || flow_attr->port > qp->device->phys_port_cnt) in mlx4_ib_create_flow() 2469 ibdev->ib_dev.phys_port_cnt = mlx4_is_bonded(dev) ? in mlx4_ib_add()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 2422 u8 phys_port_cnt; member 2646 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; in rdma_end_port()
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_os.c | 214 ibdev->phys_port_cnt = 1; in qlnxr_register_device()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1075 e = device->phys_port_cnt; in ipoib_add_one()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_provider.c | 1175 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()
|