diff options
author | Sirong Wang <wangsirong@huawei.com> | 2019-11-01 05:33:29 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-06 20:37:02 +0300 |
commit | 531eb45b3da4267fc2a64233ba256c8ffb02edd2 (patch) | |
tree | 13c002eb93805a3dc628bff64e2556c56465509c /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | ce8e8087cf3b5b4f19d29248bfc7deef95525490 (diff) | |
download | linux-531eb45b3da4267fc2a64233ba256c8ffb02edd2.tar.xz |
RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
Size of pointer to buf field of struct hns_roce_hem_chunk should be
considered when calculating HNS_ROCE_HEM_CHUNK_LEN, or sg table size will
be larger than expected when allocating hem.
Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Link: https://lore.kernel.org/r/1572575610-52530-2-git-send-email-liweihang@hisilicon.com
Signed-off-by: Sirong Wang <wangsirong@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions