diff options
author | Pramod Kumar <[email protected]> | 2014-11-21 09:36:35 -0600 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2014-12-15 18:10:46 -0800 |
commit | 123bc2a27aa4cd18a5fe4f5d66254e4863870362 (patch) | |
tree | e8660a877ac4dc5e564596a6aef98c91a0419af2 /lib/memory-notifier-error-inject.c | |
parent | 63a71ba6178a1989dcea1c5f595b6c6a3d48d6d9 (diff) |
RDMA/cxgb4: Configure 0B MRs to match HW implementation
0B MRs need some tweaks to work correctly with HW. When writing the
TPTE, if the MR length is zero we now:
1) turn off all permissions
2) set the length to -1
While functionality/capabilities of the MR are the same with these
changes, it resolves a dapltest 0B RDMA Read test failure. Based on
original work by Steve Wise <[email protected]>.
Signed-off-by: Pramod Kumar <[email protected]>
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Hariprasad Shenai <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions