Home
last modified time | relevance | path

Searched refs:phys_port_cnt (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c158 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 Dopa_smi.h44 int port_num, int phys_port_cnt);
H A Dsmi.h56 int port_num, int phys_port_cnt);
H A Dib_cache.c470 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 Dib_multicast.c819 dev = kmalloc(sizeof *dev + device->phys_port_cnt * sizeof *port, in mcast_add_one()
H A Dib_cma.c669 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 Dib_sysfs.c1351 for (i = 1; i <= device->phys_port_cnt; ++i) { in ib_device_register_sysfs()
H A Dib_cm.c4065 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 Dib_mad.c2027 port_priv->device->phys_port_cnt) == in handle_ib_smi()
2112 port_priv->device->phys_port_cnt) == in handle_opa_smi()
H A Dib_verbs.c1719 for (port = 0; port < qp->device->phys_port_cnt; port++) in is_valid_mcast_lid()
H A Dib_uverbs_cmd.c365 resp->phys_port_cnt = ib_dev->phys_port_cnt; in copy_query_dev_fields()
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c438 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 Dmadeye.c533 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 Dprovider.c450 ibdev->phys_port_cnt = sc->params.nports; in c4iw_register_device()
/freebsd/contrib/ofed/librdmacm/
H A Dcma.c283 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 Dib_user_verbs.h220 __u8 phys_port_cnt; member
/freebsd/contrib/ofed/libibverbs/
H A Dkern-abi.h256 __u8 phys_port_cnt; member
H A Dcmd.c110 device_attr->phys_port_cnt = resp->phys_port_cnt; in copy_query_dev_fields()
H A Dverbs.h183 uint8_t phys_port_cnt; member
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c835 for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) { in mlx4_ib_device_register_sysfs()
H A Dmlx4_ib_main.c1649 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 Dib_verbs.h2422 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 Dqlnxr_os.c214 ibdev->phys_port_cnt = 1; in qlnxr_register_device()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1075 e = device->phys_port_cnt; in ipoib_add_one()
/freebsd/sys/dev/mthca/
H A Dmthca_provider.c1175 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()

12