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>
Showing
- drivers/infiniband/ulp/ipoib/ipoib.h 6 additions, 5 deletionsdrivers/infiniband/ulp/ipoib/ipoib.h
- drivers/infiniband/ulp/ipoib/ipoib_cm.c 23 additions, 17 deletionsdrivers/infiniband/ulp/ipoib/ipoib_cm.c
- drivers/infiniband/ulp/ipoib/ipoib_ib.c 76 additions, 47 deletionsdrivers/infiniband/ulp/ipoib/ipoib_ib.c
- drivers/infiniband/ulp/ipoib/ipoib_main.c 19 additions, 5 deletionsdrivers/infiniband/ulp/ipoib/ipoib_main.c
- drivers/infiniband/ulp/ipoib/ipoib_verbs.c 12 additions, 5 deletionsdrivers/infiniband/ulp/ipoib/ipoib_verbs.c
Loading
Please register or sign in to comment