diff options
| author | Xi Wang <wangxi11@huawei.com> | 2020-05-20 21:53:19 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-25 14:02:13 -0300 |
| commit | 8e029d386bcef651bb89091c8a48375c2506aefe (patch) | |
| tree | d58be10d0440337fd98884b59e05123294046da3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 494c3b312255a39d4450f37ec2e675f142a76c8c (diff) | |
RDMA/hns: Optimize the usage of MTR
Currently, the MTR region is configed before hns_roce_mtr_map() is
invoked, but in some scenarios, the region is configed at MTR creation,
the caller need to store this config and call hns_roce_mtr_map() later. So
optimize the usage by wrapping the MTR region config into MTR.
Link: https://lore.kernel.org/r/1589982799-28728-10-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
