diff options
author | 2021-05-27 14:47:46 -0500 | |
---|---|---|
committer | 2021-06-03 15:53:01 -0300 | |
commit | 59daff49f25fbb3197c03c879e23a31ddd23d98f (patch) | |
tree | 280429a279bac368f0982e47b01c33da32f9bb7c /tools | |
parent | Merge branch 'irdma' into rdma.git for-next (diff) | |
download | linux-dev-59daff49f25fbb3197c03c879e23a31ddd23d98f.tar.xz linux-dev-59daff49f25fbb3197c03c879e23a31ddd23d98f.zip |
RDMA/rxe: Add a type flag to rxe_queue structs
To create optimal code only want to use smp_load_acquire() and
smp_store_release() for user indices in rxe_queue APIs since kernel
indices are protected by locks which also act as memory barriers. By
adding a type to the queues we can determine which indices need to be
protected.
Link: https://lore.kernel.org/r/20210527194748.662636-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions