diff options
| author | Yixian Liu <[email protected]> | 2019-12-10 20:45:02 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-01-03 15:48:48 -0400 |
| commit | 4768820243d71d49f1044b3f911ac3d52bdb79af (patch) | |
| tree | a78b651869655a4a61cbb76fd56d21d3bed63579 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 53bb802315b32bfb2a5a464dfc1f24b5610cad6d (diff) | |
RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
Currently, the wqe idx is calculated repeatly everywhere it is used. This
patch defines wqe_idx and calculated it only once, then just use it as
needed.
Fixes: 2d40788825ac ("RDMA/hns: Add support for processing send wr and receive wr")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yixian Liu <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions