/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe.c | 92 port->attr.lid = RXE_PORT_LID;
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | driver.c | 142 if (ppd->lid && ppd->linkup) { 430 ppd->lid; 1282 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) argument 1286 ppd->lid = lid; 1290 dd_dev_info(dd, "port %u: got a lid: 0x%x\n", ppd->port, lid); 1452 /* Compare port lid with incoming packet dlid */ 1456 if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid)
|
H A D | verbs.c | 1374 u32 lid = ppd->lid; local 1377 props->lid = lid ? lid : 0;
|
H A D | sdma.h | 1055 void sdma_update_lmc(struct hfi1_devdata *dd, u64 mask, u32 lid);
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 189 static void update_sm_ah(struct mlx4_ib_dev *dev, u32 port_num, u16 lid, u8 sl) argument 200 rdma_ah_set_dlid(&ah_attr, lid); 224 u16 lid; local 239 lid = be16_to_cpu(pinfo->lid); 248 if (prev_lid != lid) 864 prev_lid = ib_lid_cpu16(pattr.lid); 1194 u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid); local 1196 update_sm_ah(dev, port, lid, sl); 1199 /* Check if it is a lid chang [all...] |
H A D | alias_GUID.c | 322 pr_debug("lid/port: %d/%d, block_num: %d\n", 323 be16_to_cpu(guid_rec->lid), cb_ctx->port, 530 guid_info_rec.lid = ib_lid_be16(attr.lid);
|
/linux-master/drivers/infiniband/core/ |
H A D | verbs.c | 2383 static bool is_valid_mcast_lid(struct ib_qp *qp, u16 lid) argument 2417 return !(lid < be16_to_cpu(IB_MULTICAST_LID_BASE) || 2418 lid == be16_to_cpu(IB_LID_PERMISSIVE)); 2421 int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid) argument 2429 qp->qp_type != IB_QPT_UD || !is_valid_mcast_lid(qp, lid)) 2432 ret = qp->device->ops.attach_mcast(qp, gid, lid); 2439 int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid) argument 2447 qp->qp_type != IB_QPT_UD || !is_valid_mcast_lid(qp, lid)) 2450 ret = qp->device->ops.detach_mcast(qp, gid, lid);
|
H A D | cm.c | 1329 __be16 lid; local 1391 lid = param->primary_path_inbound->ib.dlid; 1393 be16_to_cpu(lid)); 1654 u32 lid; local 1662 lid = opa_get_lid_from_gid(IBA_GET_MEM_PTR( 1664 sa_path_set_dlid(primary_path, lid); 1666 lid = opa_get_lid_from_gid(IBA_GET_MEM_PTR( 1668 sa_path_set_slid(primary_path, lid); 1682 lid = opa_get_lid_from_gid(IBA_GET_MEM_PTR( 1684 sa_path_set_dlid(alt_path, lid); 3256 u32 lid; local [all...] |
H A D | user_mad.c | 258 packet->mad.hdr.lid = ib_lid_be16(0xFFFF & 261 packet->mad.hdr.lid = ib_lid_be16(mad_recv_wc->wc->slid); 457 return (hdr1->lid == hdr2->lid); 549 rdma_ah_set_dlid(&ah_attr, be16_to_cpu(packet->mad.hdr.lid));
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_dev.h | 565 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid); 566 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
|
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 163 props->lid = resp->attrs.lid;
|
H A D | pvrdma_verbs.h | 136 u16 lid; member in struct:pvrdma_port_attr
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | npc_profile.h | 15487 .lid = NPC_LID_LA, 15492 .lid = NPC_LID_LB, 15497 .lid = NPC_LID_LB, 15502 .lid = NPC_LID_LC, 15507 .lid = NPC_LID_LG, 15512 .lid = NPC_LID_LC, 15517 .lid = NPC_LID_LG, 15522 .lid = NPC_LID_LD, 15527 .lid = NPC_LID_LH, 15532 .lid [all...] |
/linux-master/include/rdma/ |
H A D | rdma_vt.h | 530 u16 lid);
|
H A D | ib_verbs.h | 692 u32 lid; member in struct:ib_port_attr 2506 int (*attach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid); 2507 int (*detach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid); 4324 * @lid: Multicast group LID in host byte order. 4331 int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid); 4337 * @lid: Multicast group LID in host byte order. 4339 int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid); 4647 * ib_lid_cpu16 - Return lid in 16bit CPU encoding. 4649 * get the 32bit lid is from other sources for OPA. 4653 * @lid 4655 ib_lid_cpu16(u32 lid) argument 4666 ib_lid_be16(u32 lid) argument [all...] |
H A D | ib_sa.h | 384 __be16 lid; member in struct:ib_sa_guidinfo_rec
|
H A D | rdmavt_qp.h | 515 u16 lid; member in struct:rvt_mcast_addr
|
/linux-master/drivers/nvme/target/ |
H A D | admin-cmd.c | 325 switch (req->cmd->get_log_page.lid) { 344 pr_debug("unhandled lid %d on qid %d\n", 345 req->cmd->get_log_page.lid, req->sq->qid); 346 req->error_loc = offsetof(struct nvme_get_log_page_command, lid);
|
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 124 /* Report current lid switch state through input layer */ 163 ATTRIBUTE_GROUPS(lid); variable 298 * Reestablish our lid setup so we're sure to catch all transitions. 514 dev_err(&pdev->dev, "failed to register lid switch: %d\n", r);
|
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema.c | 713 * @lid: issuers lid (encap_slid from vesw_port_info) 726 struct __opa_veswport_trap *data, u32 lid) 767 * check for trap lid validity, must not be zero 826 trap_mad->notice.issuer_lid = cpu_to_be32(lid); 725 opa_vnic_vema_send_trap(struct opa_vnic_adapter *adapter, struct __opa_veswport_trap *data, u32 lid) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ipoib.c | 660 union ib_gid *gid, u16 lid, int set_qkey, 685 union ib_gid *gid, u16 lid) 659 mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid, int set_qkey, u32 qkey) argument 684 mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, union ib_gid *gid, u16 lid) argument
|
/linux-master/fs/jfs/ |
H A D | jfs_imap.c | 594 lid_t lid; local 668 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { 677 tlck = lid_to_tlock(lid); 702 if ((lid = jfs_ip->blid) == 0) 706 tlck = lid_to_tlock(lid);
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 354 props->lid = 0;
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mad.c | 571 props->lid = be16_to_cpup((__be16 *)(out_mad->data + 16));
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 725 rep->lid = MLX5_GET_PR(hca_vport_context, ctx, lid);
|