aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXi Wang <[email protected]>2020-04-13 19:58:06 +0800
committerJason Gunthorpe <[email protected]>2020-04-22 15:59:53 -0300
commit3c873161a0d7d1e11f1ce9cc59f89a009fb65711 (patch)
tree0d275c1b29104b6c0d4d9b2a0276e1fe5f82d32d /tools/perf/scripts/python
parent95a776e8a6282ac19051655c55124e711318ae6e (diff)
RDMA/hns: Add support for addressing when hopnum is 0
Currently, WQE and EQE table have already used the mtr interface to config and access memory by multi-hop addressing when hopnum is from 1 to 3. But if hopnum is 0, each table need write its own but repetitive logic, and many duplicate code exists in the mtr interfaces invoke process. So wraps the public logic as 3 functions: hns_roce_mtr_create(), hns_roce_mtr_destroy() and hns_roce_mtr_map() to support hopnum ranges from 0 to 3. In addition, makes the mtr interfaces easier to use. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions