diff options
author | Lijun Ou <[email protected]> | 2016-11-23 19:41:03 +0000 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-12-03 14:20:42 -0500 |
commit | 80596c6717a7b0e9969ffbd03c7e1dd33112f7e9 (patch) | |
tree | b3d2ea8fbec1101c47b648cf907f419903aa5b7e /tools/perf/scripts/python/sctop.py | |
parent | 543bfe6c3c1602d1781504047795a4266076233b (diff) |
IB/hns: Modify the condition of notifying hardware loopback
This patch modified the condition of notifying hardware loopback.
In hip06, RoCE Engine has several ports, one QP is related
to one port. hardware only support loopback in the same port,
not in the different ports.
So, If QP related to port N, the dmac in the QP context equals
the smac of the local port N or the loop_idc is 1, we should
set loopback bit in QP context to notify hardware.
Signed-off-by: Wei Hu (Xavier) <[email protected]>
Signed-off-by: Lijun Ou <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions