diff options
| author | Erez Shitrit <erezsh@mellanox.com> | 2017-10-19 07:56:43 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-10-25 20:36:50 +0300 |
| commit | 8966e28d2e40cfc9f694bd02dabc49afb78d7160 (patch) | |
| tree | 94d3ed9ebe51f6afdbc17d07483870b5a091aeb9 /tools/perf/scripts/python | |
| parent | 2c104ea68350b7f49c4ae207afa6e7f7f5c81546 (diff) | |
| download | linux-8966e28d2e40cfc9f694bd02dabc49afb78d7160.tar.xz | |
IB/ipoib: Use NAPI in UD/TX flows
Instead of explicit call to poll_cq of the tx ring, use the NAPI mechanism
to handle the completions of each packet that has been sent to the HW.
The next major changes were taken:
* The driver init completion function in the creation of the send CQ,
that function triggers the napi scheduling.
* The driver uses CQ for RX for both modes UD and CM, and CQ for TX
for CM and UD.
Cc: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
