Searched refs:rdma_port_get_link_layer (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.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 | 1919 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()
|
D | main.c | 1435 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()
|
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()
|
/kernel/linux/linux-5.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); 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()
|
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 | 2010 if (rdma_port_get_link_layer(device, port_num) != in __ib_query_port()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_verbs.h | 2968 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device,
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3168 if (rdma_port_get_link_layer(device, 1) == IB_LINK_LAYER_INFINIBAND) in srpt_add_one()
|