Lines Matching refs:index
562 unsigned int index, const union ib_gid *gid,
595 return mlx5_core_roce_gid_set(dev->mdev, index, roce_version,
605 attr->index, &attr->gid, attr);
612 attr->index, NULL, NULL);
1412 static int mlx5_ib_query_gid(struct ib_device *ibdev, u8 port, int index,
1420 return mlx5_query_mad_ifc_gids(ibdev, port, index, gid);
1423 return mlx5_query_hca_vport_gid(mdev, 0, port, 0, index, gid);
1432 u16 index, u16 *pkey)
1451 index, pkey);
1458 static int mlx5_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
1463 return mlx5_query_mad_ifc_pkey(ibdev, port, index, pkey);
1467 return mlx5_query_hca_nic_pkey(ibdev, port, index, pkey);
2155 mlx5_ib_warn(dev, "invalid uar index %lu, max=%d\n",
2186 /* Fail if uar already allocated, first bfreg index of each
2293 u64 index = entry->rdma_entry.start_pgoff & 0xFFFF;
2295 return (((index >> 8) << 16) | (cmd << MLX5_IB_MMAP_CMD_SHIFT) |
2296 (index & 0xFF)) << PAGE_SHIFT;