diff options
| author | Kaike Wan <[email protected]> | 2019-02-05 14:13:13 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2019-02-05 17:53:54 -0500 |
| commit | 37356e78328186814e994e0ad1a1cfd6a142bef4 (patch) | |
| tree | 9b956363e2c08ab89ee62e0d013113b6e05c483d /tools/perf/scripts/python | |
| parent | 385156c5f2a61834666f079ee66338f177c65c28 (diff) | |
IB/hfi1: TID RDMA flow allocation
The hfi1 hardware flow is a hardware flow-control mechanism for a KDETH
data packet that is received on a hfi1 port. It validates the packet by
checking both the generation and sequence. Each QP that uses the TID RDMA
mechanism will allocate a hardware flow from its receiving context for
any incoming KDETH data packets.
This patch implements:
(1) a function to allocate hardware flow
(2) a function to free hardware flow
(3) a function to initialize hardware flow generation for a receiving
context
(4) a wait mechanism if the hardware flow is not available
(4) a function to remove the qp from the wait queue for hardware flow
when the qp is reset or destroyed.
Signed-off-by: Mitko Haralanov <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Kaike Wan <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions