Searched refs:rdma_port_get_link_layer (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 590 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()
|
D | mad.c | 691 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()
|
D | qp.c | 1917 if (rdma_port_get_link_layer(&dev->ib_dev, qp->port) != in create_qp_lb_counter() 2116 rdma_port_get_link_layer(&dev->ib_dev, qp->port) == in __mlx4_ib_modify_qp() 2417 if (rdma_port_get_link_layer(&dev->ib_dev, qp->port) == in __mlx4_ib_modify_qp() 2448 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() 2725 (rdma_port_get_link_layer(&dev->ib_dev, attr->port_num) != in _mlx4_ib_modify_qp() 2999 is_eth = rdma_port_get_link_layer(qp->ibqp.device, qp->port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
|
D | main.c | 1438 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match() 3253 rdma_port_get_link_layer(&ibdev->ib_dev, p) == in mlx4_ib_event() 3298 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event() 3312 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event()
|
D | mlx4_ib.h | 832 if (rdma_port_get_link_layer(ah->ibah.device, port) == IB_LINK_LAYER_ETHERNET) in mlx4_ib_ah_grh_present()
|
D | cq.c | 834 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
|
/Linux-v5.10/drivers/infiniband/core/ |
D | verbs.c | 230 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); 1804 if (rdma_port_get_link_layer(dev, port_num) != IB_LINK_LAYER_ETHERNET) in ib_get_eth_speed() 2251 if (rdma_port_get_link_layer(qp->device, attr.port_num) != in is_valid_mcast_lid() 2260 if (rdma_port_get_link_layer(qp->device, port) != in is_valid_mcast_lid()
|
D | uverbs_std_types_device.c | 173 resp->link_layer = rdma_port_get_link_layer(ib_dev, port_num); in copy_port_attr_to_resp()
|
D | sysfs.c | 328 switch (rdma_port_get_link_layer(p->ibdev, p->port_num)) { in link_layer_show()
|
D | device.c | 2021 if (rdma_port_get_link_layer(device, port_num) != in __ib_query_port()
|
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 169 enum rdma_link_layer ll = rdma_port_get_link_layer(qp->ibqp.device, 1); in handle_responder()
|
/Linux-v5.10/include/rdma/ |
D | ib_verbs.h | 2968 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device,
|
/Linux-v5.10/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3135 if (rdma_port_get_link_layer(device, 1) == IB_LINK_LAYER_INFINIBAND) in srpt_add_one()
|