Home
last modified time | relevance | path

Searched refs:rdma_is_port_valid (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Dcache.c696 if (!rdma_is_port_valid(ib_dev, port)) in rdma_find_gid_by_port()
747 if (!rdma_is_port_valid(ib_dev, port)) in rdma_find_gid_by_filter()
956 if (!rdma_is_port_valid(device, port_num)) in rdma_query_gid()
1056 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_pkey()
1094 if (!rdma_is_port_valid(device, port_num)) in ib_find_cached_pkey()
1138 if (!rdma_is_port_valid(device, port_num)) in ib_find_exact_cached_pkey()
1170 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_lmc()
1187 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_port_state()
1221 if (!rdma_is_port_valid(device, port_num)) in rdma_get_gid_attr()
1487 if (!rdma_is_port_valid(device, port)) in ib_cache_update()
H A Dcounters.c333 if (!rdma_is_port_valid(dev, port)) in rdma_counter_bind_qp_auto()
542 if (!rdma_is_port_valid(dev, port)) in rdma_counter_bind_qpn_alloc()
556 if (rdma_is_port_valid(dev, qp->port) && (qp->port != port)) { in rdma_counter_bind_qpn_alloc()
588 if (!rdma_is_port_valid(dev, port)) in rdma_counter_unbind_qpn()
595 if (rdma_is_port_valid(dev, qp->port) && (qp->port != port)) { in rdma_counter_unbind_qpn()
H A Dnldev.c1180 if (!rdma_is_port_valid(device, port)) { in nldev_port_get_doit()
1441 if (!rdma_is_port_valid(device, port)) { in res_get_common_doit()
1539 if (!rdma_is_port_valid(device, port)) { in res_get_common_dumpit()
1792 if (!rdma_is_port_valid(ibdev, data.port)) { in nldev_get_chardev()
2037 if (!rdma_is_port_valid(device, port)) { in nldev_stat_set_doit()
2112 if (!rdma_is_port_valid(device, port)) { in nldev_stat_del_doit()
2273 if (!rdma_is_port_valid(device, port)) { in stat_get_doit_qp()
2401 if (!rdma_is_port_valid(device, port)) { in nldev_stat_get_counter_status_doit()
H A Ddevice.c868 WARN_ON(!rdma_is_port_valid(dev, port)); in ib_port_immutable_read()
2093 if (!rdma_is_port_valid(device, port_num)) in ib_query_port()
2149 if (!rdma_is_port_valid(ib_dev, port)) in ib_device_set_netdev()
2218 if (!rdma_is_port_valid(ib_dev, port)) in ib_device_get_netdev()
2377 if (!rdma_is_port_valid(device, port_num)) in ib_query_pkey()
2425 if (!rdma_is_port_valid(device, port_num)) in ib_modify_port()
H A Duverbs_std_types_device.c400 if (!rdma_is_port_valid(ib_dev, port_num)) in UVERBS_HANDLER()
H A Duverbs_cmd.c1770 !rdma_is_port_valid(qp->device, cmd->base.port_num)) { in modify_qp()
1776 if (!rdma_is_port_valid(qp->device, cmd->base.dest.port_num)) { in modify_qp()
1830 (!rdma_is_port_valid(qp->device, cmd->base.alt_port_num) || in modify_qp()
1831 !rdma_is_port_valid(qp->device, cmd->base.alt_dest.port_num) || in modify_qp()
2409 if (!rdma_is_port_valid(ib_dev, cmd.attr.port_num)) { in ib_uverbs_create_ah()
3249 if (!rdma_is_port_valid(uobj->context->device, cmd.flow_attr.port)) { in ib_uverbs_ex_create_flow()
H A Dcma.c293 if (!rdma_is_port_valid(cma_dev->device, port)) in cma_get_default_gid_type()
305 if (!rdma_is_port_valid(cma_dev->device, port)) in cma_set_default_gid_type()
325 if (!rdma_is_port_valid(cma_dev->device, port)) in cma_get_default_roce_tos()
334 if (!rdma_is_port_valid(cma_dev->device, port)) in cma_set_default_roce_tos()
H A Duser_mad.c1162 if (!rdma_is_port_valid(ibdev, port)) in get_port()
H A Dsysfs.c1089 if (!ibdev->port_data || !rdma_is_port_valid(ibdev, port_num) || in ib_get_hw_stats_port()
H A Dverbs.c414 if (!rdma_is_port_valid(device, ah_attr->port_num)) in rdma_check_ah_attr()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c173 if (!rdma_is_port_valid(&dev->ib_dev, port_num)) in UVERBS_HANDLER()
H A Dmain.c2699 if (!rdma_is_port_valid(&ibdev->ib_dev, ibev.element.port_num)) { in mlx5_ib_handle_event()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_qp.c84 if (!rdma_is_port_valid(&rxe->ib_dev, port_num)) { in rxe_qp_chk_init()
443 if (!rdma_is_port_valid(&rxe->ib_dev, attr->port_num)) { in rxe_qp_chk_attr()
465 if (!rdma_is_port_valid(&rxe->ib_dev, attr->alt_port_num)) { in rxe_qp_chk_attr()
/openbmc/linux/net/smc/
H A Dsmc_pnet.c1015 if (!rdma_is_port_valid(ibdev->ibdev, i)) in _smc_pnet_find_roce_by_pnetid()
1058 if (!rdma_is_port_valid(ibdev->ibdev, i)) in smc_pnet_find_rdma_dev()
H A Dsmc_ib.c586 if (!rdma_is_port_valid(smcibdev->ibdev, i)) in smc_nl_handle_smcr_dev()
/openbmc/linux/include/rdma/
H A Dib_verbs.h3072 static inline int rdma_is_port_valid(const struct ib_device *device, in rdma_is_port_valid() function