Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/core/
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()
960 if (!rdma_is_port_valid(device, port_num)) in rdma_query_gid()
1060 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_pkey()
1098 if (!rdma_is_port_valid(device, port_num)) in ib_find_cached_pkey()
1142 if (!rdma_is_port_valid(device, port_num)) in ib_find_exact_cached_pkey()
1174 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_lmc()
1191 if (!rdma_is_port_valid(device, port_num)) in ib_get_cached_port_state()
1225 if (!rdma_is_port_valid(device, port_num)) in rdma_get_gid_attr()
1480 if (!rdma_is_port_valid(device, port)) in ib_cache_update()
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()
Dnldev.c1174 if (!rdma_is_port_valid(device, port)) { in nldev_port_get_doit()
1427 if (!rdma_is_port_valid(device, port)) { in res_get_common_doit()
1525 if (!rdma_is_port_valid(device, port)) { in res_get_common_dumpit()
1778 if (!rdma_is_port_valid(ibdev, data.port)) { in nldev_get_chardev()
2015 if (!rdma_is_port_valid(device, port)) { in nldev_stat_set_doit()
2090 if (!rdma_is_port_valid(device, port)) { in nldev_stat_del_doit()
2247 if (!rdma_is_port_valid(device, port)) { in stat_get_doit_qp()
2371 if (!rdma_is_port_valid(device, port)) { in nldev_stat_get_counter_status_doit()
Ddevice.c868 WARN_ON(!rdma_is_port_valid(dev, port)); in ib_port_immutable_read()
2086 if (!rdma_is_port_valid(device, port_num)) in ib_query_port()
2150 if (!rdma_is_port_valid(ib_dev, port)) in ib_device_set_netdev()
2214 if (!rdma_is_port_valid(ib_dev, port)) in ib_device_get_netdev()
2376 if (!rdma_is_port_valid(device, port_num)) in ib_query_pkey()
2424 if (!rdma_is_port_valid(device, port_num)) in ib_modify_port()
Duverbs_std_types_device.c400 if (!rdma_is_port_valid(ib_dev, port_num)) in UVERBS_HANDLER()
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()
2402 if (!rdma_is_port_valid(ib_dev, cmd.attr.port_num)) { in ib_uverbs_create_ah()
3242 if (!rdma_is_port_valid(uobj->context->device, cmd.flow_attr.port)) { in ib_uverbs_ex_create_flow()
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()
Duser_mad.c1148 if (!rdma_is_port_valid(ibdev, port)) in get_port()
Dsysfs.c1089 if (!ibdev->port_data || !rdma_is_port_valid(ibdev, port_num) || in ib_get_hw_stats_port()
Dverbs.c414 if (!rdma_is_port_valid(device, ah_attr->port_num)) in rdma_check_ah_attr()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dstd_types.c173 if (!rdma_is_port_valid(&dev->ib_dev, port_num)) in UVERBS_HANDLER()
Dmain.c2684 if (!rdma_is_port_valid(&ibdev->ib_dev, ibev.element.port_num)) { in mlx5_ib_handle_event()
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_qp.c84 if (!rdma_is_port_valid(&rxe->ib_dev, port_num)) { in rxe_qp_chk_init()
418 if (!rdma_is_port_valid(&rxe->ib_dev, attr->port_num)) { in rxe_qp_chk_attr()
433 if (!rdma_is_port_valid(&rxe->ib_dev, attr->alt_port_num)) { in rxe_qp_chk_attr()
/Linux-v6.1/net/smc/
Dsmc_pnet.c1001 if (!rdma_is_port_valid(ibdev->ibdev, i)) in _smc_pnet_find_roce_by_pnetid()
1044 if (!rdma_is_port_valid(ibdev->ibdev, i)) in smc_pnet_find_rdma_dev()
Dsmc_ib.c580 if (!rdma_is_port_valid(smcibdev->ibdev, i)) in smc_nl_handle_smcr_dev()
/Linux-v6.1/include/rdma/
Dib_verbs.h3060 static inline int rdma_is_port_valid(const struct ib_device *device, in rdma_is_port_valid() function