diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2022-12-06 21:01:55 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-12-09 19:36:02 -0400 |
commit | 02ea0a511558c907bde0e01fdebcd4536924d996 (patch) | |
tree | 72674005929259bfd892f4fdde9e6d82874515b3 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 668ce52d5eef477c0def757610768a1a3ccc9785 (diff) |
RDMA/rxe: Allow registering persistent flag for pmem MR only
Memory region could support at most 2 flush access flags:
IB_ACCESS_FLUSH_PERSISTENT and IB_ACCESS_FLUSH_GLOBAL
But we only allow user to register persistent flush flags to the pmem MR
where it has the ability of persisting data across power cycles.
So registering a persistent access flag to a non-pmem MR will be rejected.
Link: https://lore.kernel.org/r/20221206130201.30986-5-lizhijian@fujitsu.com
CC: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions