aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorLijun Ou <[email protected]>2019-06-24 19:47:49 +0800
committerJason Gunthorpe <[email protected]>2019-07-07 09:19:30 -0300
commite0222d18d628ce96f0def790ea26b6b7b3c18f78 (patch)
tree7975a21b1acf69a3c2ed494b24d188ace73e0fbb /tools/perf/util/c++/clang-test.cpp
parent726be12f5ca0a9b464e7d91add512071e4c224f6 (diff)
RDMA/hns: Bugfix for calculating qp buffer size
The buffer size of qp which used to allocate qp buffer space for storing sqwqe and rqwqe will be the length of buffer space. The kernel driver will use the buffer address and the same size to get the user memory. The same size named buff_size of qp. According the algorithm of calculating, The size of the two is not equal when users set the max sge of sq. Fixes: b28ca7cceff8 ("RDMA/hns: Limit extend sq sge num") Signed-off-by: Lijun Ou <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions