Searched refs:rdma_port_get_link_layer (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 580 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() 615 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() 630 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port()
|
D | mad.c | 692 if (rdma_port_get_link_layer(ibdev, port) == IB_LINK_LAYER_INFINIBAND) in mlx4_ib_demux_mad() 990 enum rdma_link_layer link = rdma_port_get_link_layer(ibdev, port_num); in mlx4_ib_process_mad() 1031 ll = rdma_port_get_link_layer(&dev->ib_dev, p + 1); in mlx4_ib_mad_init() 1462 if (rdma_port_get_link_layer(&dev->ib_dev, port) == IB_LINK_LAYER_INFINIBAND) in get_slave_base_gid_ix() 1471 if (rdma_port_get_link_layer(&dev->ib_dev, port) == IB_LINK_LAYER_INFINIBAND) in fill_in_real_sgid_index() 1992 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() 3002 is_eth = rdma_port_get_link_layer(qp->ibqp.device, qp->port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
|
D | main.c | 1430 u8 link_layer = rdma_port_get_link_layer(qp->device, flow_attr->port); in __mlx4_ib_default_rules_match() 3214 rdma_port_get_link_layer(&ibdev->ib_dev, p) == in mlx4_ib_event() 3259 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event() 3273 if (rdma_port_get_link_layer(&ibdev->ib_dev, i) in mlx4_ib_event()
|
D | mlx4_ib.h | 831 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-v6.1/drivers/infiniband/core/ |
D | verbs.c | 230 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device, in rdma_port_get_link_layer() function 243 EXPORT_SYMBOL(rdma_port_get_link_layer); 1888 if (rdma_port_get_link_layer(dev, port_num) != IB_LINK_LAYER_ETHERNET) in ib_get_eth_speed() 2323 if (rdma_port_get_link_layer(qp->device, attr.port_num) != in is_valid_mcast_lid() 2332 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 | 399 switch (rdma_port_get_link_layer(ibdev, port_num)) { in link_layer_show()
|
D | device.c | 2064 if (rdma_port_get_link_layer(device, port_num) != in __ib_query_port()
|
/Linux-v6.1/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-v6.1/include/rdma/ |
D | ib_verbs.h | 3006 enum rdma_link_layer rdma_port_get_link_layer(struct ib_device *device,
|
/Linux-v6.1/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3172 if (rdma_port_get_link_layer(device, 1) == IB_LINK_LAYER_INFINIBAND) in srpt_add_one()
|