All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/2] IB/mlx5: Use tasklet to decrease completions processing time in interrupts
@ 2016-04-17 14:08 Matan Barak
       [not found] ` <1460902121-5567-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Matan Barak @ 2016-04-17 14:08 UTC (permalink / raw)
  To: Doug Ledford; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Majd Dibbiny, Matan Barak

Hi Doug,

The mlx5 driver handles completion callbacks inside interrupts.
These callbacks could be lengthy and thus cause hard lockups.
In order to avoid these lockups, we introduce a tasklet mechanism.
The mlx5_ib driver uses this mechanism in order to defer its
completion callbacks processing to the tasklet.

This follows the same mechanism we implemented for mlx4 that
successfully decreased the processing time in interrupts.

Regards,
Matan

Matan Barak (2):
  net/mlx5_core: Use tasklet for user-space CQ completion events
  IB/mlx5: Fire the CQ completion handler from tasklet

 drivers/infiniband/hw/mlx5/cq.c                    |  5 +-
 drivers/net/ethernet/mellanox/mlx5/core/cq.c       | 59 ++++++++++++++++++++++
 drivers/net/ethernet/mellanox/mlx5/core/eq.c       | 12 ++++-
 drivers/net/ethernet/mellanox/mlx5/core/main.c     | 17 +++++++
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |  2 +
 include/linux/mlx5/cq.h                            |  5 ++
 include/linux/mlx5/driver.h                        | 10 ++++
 7 files changed, 108 insertions(+), 2 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-05-18 14:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-17 14:08 [PATCH for-next 0/2] IB/mlx5: Use tasklet to decrease completions processing time in interrupts Matan Barak
     [not found] ` <1460902121-5567-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-17 14:08   ` [PATCH for-next 1/2] net/mlx5_core: Use tasklet for user-space CQ completion events Matan Barak
2016-04-17 14:08   ` [PATCH for-next 2/2] IB/mlx5: Fire the CQ completion handler from tasklet Matan Barak
2016-04-18 13:04   ` [PATCH for-next 0/2] IB/mlx5: Use tasklet to decrease completions processing time in interrupts Christoph Hellwig
     [not found]     ` <20160418130456.GA11508-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-04-18 13:21       ` Matan Barak (External)
     [not found]         ` <5714DF68.6040509-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-18 14:33           ` Sagi Grimberg
2016-05-13 20:16           ` Doug Ledford
     [not found]             ` <a93b20ca-42bf-ca2b-2995-aa2837a1bafe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-05-15  7:31               ` Matan Barak
     [not found]                 ` <868e5bcf-18c5-30f4-fe3f-b361c0ce43ec-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-18 14:48                   ` Doug Ledford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.