Searched refs:phys_port_cnt (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c160 int phys_port_cnt,
185 return (initial_path[*hop_ptr+1] <= phys_port_cnt ?
219 return (return_path[*hop_ptr-1] <= phys_port_cnt ?
245 int port_num, int phys_port_cnt)
247 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt,
261 int port_num, int phys_port_cnt)
263 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt,
159 __smi_handle_dr_smp_recv(bool is_switch, int port_num, int phys_port_cnt, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) argument
244 smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, int port_num, int phys_port_cnt) argument
260 opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, int port_num, int phys_port_cnt) argument
H A Dsmi.h56 int port_num, int phys_port_cnt);
H A Dopa_smi.h46 int port_num, int phys_port_cnt);
H A Dib_cache.c471 for (p = 0; p < ib_dev->phys_port_cnt; p++) {
789 table = kcalloc(ib_dev->phys_port_cnt, sizeof(*table), GFP_KERNEL);
797 for (port = 0; port < ib_dev->phys_port_cnt; port++) {
819 for (port = 0; port < ib_dev->phys_port_cnt; port++) {
837 for (port = 0; port < ib_dev->phys_port_cnt; port++)
852 for (port = 0; port < ib_dev->phys_port_cnt; port++)
H A Dib_multicast.c822 dev = kmalloc(sizeof *dev + device->phys_port_cnt * sizeof *port,
H A Dib_sysfs.c1297 for (i = 1; i <= device->phys_port_cnt; ++i) {
H A Dib_cma.c641 for (port = 1; port <= cma_dev->device->phys_port_cnt; ++port) {
688 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) {
2697 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) {
4257 cma_dev->default_gid_type = kcalloc(device->phys_port_cnt,
H A Dib_cm.c3978 ib_device->phys_port_cnt, GFP_KERNEL);
3994 for (i = 1; i <= ib_device->phys_port_cnt; i++) {
4085 for (i = 1; i <= ib_device->phys_port_cnt; i++) {
H A Dib_verbs.c1522 for (port = 0; port < qp->device->phys_port_cnt; port++)
H A Dib_mad.c2040 port_priv->device->phys_port_cnt) ==
2125 port_priv->device->phys_port_cnt) ==
H A Dib_uverbs_cmd.c467 resp->phys_port_cnt = ib_dev->phys_port_cnt;
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c437 if (ib_port && ib_port > device_attr.orig_attr.phys_port_cnt) {
458 printf("\tphys_port_cnt:\t\t\t%d\n", device_attr.orig_attr.phys_port_cnt);
526 for (port = 1; port <= device_attr.orig_attr.phys_port_cnt; ++port) {
/freebsd-11-stable/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c531 e = device->phys_port_cnt;
573 e = device->phys_port_cnt;
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dprovider.c464 ibdev->phys_port_cnt = sc->params.nports;
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dcma.c283 cma_dev->port = malloc(sizeof(*cma_dev->port) * attr.phys_port_cnt);
289 for (i = 1; i <= attr.phys_port_cnt; i++) {
296 cma_dev->port_cnt = attr.phys_port_cnt;
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dkern-abi.h256 __u8 phys_port_cnt; member in struct:ibv_query_device_resp
H A Dcmd.c110 device_attr->phys_port_cnt = resp->phys_port_cnt;
H A Dverbs.h183 uint8_t phys_port_cnt; member in struct:ibv_device_attr
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h216 __u8 phys_port_cnt; member in struct:ib_uverbs_query_device_resp
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c835 for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) {
H A Dmlx4_ib_main.c1745 if (flow_attr->port < 1 || flow_attr->port > qp->device->phys_port_cnt)
2560 ibdev->ib_dev.phys_port_cnt = mlx4_is_bonded(dev) ?
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs.h2115 u8 phys_port_cnt; member in struct:ib_device
2274 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt;
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c1095 dev->ibdev.phys_port_cnt = sc->params.nports;
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_provider.c1222 dev->ib_dev.phys_port_cnt = dev->limits.num_ports;
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1108 e = device->phys_port_cnt;

Completed in 267 milliseconds

12