diff options
| author | Kamal Heib <[email protected]> | 2020-07-21 10:16:18 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-07-31 19:17:56 +0000 |
| commit | 76251e15ea73898b62ed0da3210189e50e1fe3c9 (patch) | |
| tree | feafb95183f04bc25074b574a535888ed0ab7e42 /drivers/infiniband/hw/mlx5/devx.c | |
| parent | RDMA/umem: Add a schedule point in ib_umem_get() (diff) | |
| download | kernel-76251e15ea73898b62ed0da3210189e50e1fe3c9.tar.gz kernel-76251e15ea73898b62ed0da3210189e50e1fe3c9.zip | |
RDMA/rxe: Remove pkey table
The RoCE spec requires RoCE devices to support only the default pkey.
However the rxe driver maintains a 64 enties pkey table and uses only the
first entry. Remove the pkey table and hard code a table of length one
hard wired with the default pkey. Replace all checks of the pkey_table
with a comparison to the default_pkey instead.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kamal Heib <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
0 files changed, 0 insertions, 0 deletions
