Home
last modified time | relevance | path

Searched refs:rdma_port_get_link_layer (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsysfs.c590 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries()
625 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries()
640 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port()
Dmad.c691 if (rdma_port_get_link_layer(ibdev, port) == IB_LINK_LAYER_INFINIBAND) in mlx4_ib_demux_mad()
988 enum rdma_link_layer link = rdma_port_get_link_layer(ibdev, port_num); in mlx4_ib_process_mad()
1029 ll = rdma_port_get_link_layer(&dev->ib_dev, p + 1); in mlx4_ib_mad_init()
1460 if (rdma_port_get_link_layer(&dev->ib_dev, port) == IB_LINK_LAYER_INFINIBAND) in get_slave_base_gid_ix()
1469 if (rdma_port_get_link_layer(&dev->ib_dev, port) == IB_LINK_LAYER_INFINIBAND) in fill_in_real_sgid_index()
1989 if (rdma_port_get_link_layer(ibdev, ctx->port) == in create_pv_resources()
Dqp.c1919 if (rdma_port_get_link_layer(&dev->ib_dev, qp->port) != in create_qp_lb_counter()
2118 rdma_port_get_link_layer(&dev->ib_dev, qp->port) == in __mlx4_ib_modify_qp()
2419 if (rdma_port_get_link_layer(&dev->ib_dev, qp->port) == in __mlx4_ib_modify_qp()
2450 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp()
2727 (rdma_port_get_link_layer(&dev->ib_dev, attr->port_num) != in _mlx4_ib_modify_qp()
3001 is_eth = rdma_port_get_link_layer(qp->ibqp.device, qp->port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
Dmain.c1435 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match()
3250 rdma_port_get_link_layer(&ibdev->ib_dev, p) == in mlx4_ib_event()
3295 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event()
3309 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event()
Dmlx4_ib.h832 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET) in mlx4_ib_ah_grh_present()
Dcq.c834 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c230 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device, u8 port_num) in rdma_port_get_link_layer() function
242 EXPORT_SYMBOL(rdma_port_get_link_layer);
1806 if (rdma_port_get_link_layer(dev, port_num) != IB_LINK_LAYER_ETHERNET) in ib_get_eth_speed()
2256 if (rdma_port_get_link_layer(qp->device, attr.port_num) != in is_valid_mcast_lid()
2265 if (rdma_port_get_link_layer(qp->device, port) != in is_valid_mcast_lid()
Duverbs_std_types_device.c173 resp->link_layer = rdma_port_get_link_layer(ib_dev, port_num); in copy_port_attr_to_resp()
Dsysfs.c328 switch (rdma_port_get_link_layer(p->ibdev, p->port_num)) { in link_layer_show()
Ddevice.c2010 if (rdma_port_get_link_layer(device, port_num) != in __ib_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcq.c169 enum rdma_link_layer ll = rdma_port_get_link_layer(qp->ibqp.device, 1); in handle_responder()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h2968 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device,
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c3168 if (rdma_port_get_link_layer(device, 1) == IB_LINK_LAYER_INFINIBAND) in srpt_add_one()