Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next V3 0/3] Introduce adaptive TX interrupt moderation to net DIM
@ 2018-04-24 10:36 Tal Gilboa
  2018-04-24 10:36 ` [PATCH net-next V3 1/3] net/dim: Rename *_get_profile() functions to *_get_rx_moderation() Tal Gilboa
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tal Gilboa @ 2018-04-24 10:36 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Tariq Toukan, Tal Gilboa, Saeed Mahameed,
	Florian Fainelli, Andy Gospodarek

Net DIM is a library designed for dynamic interrupt moderation. It was
implemented and optimized with receive side interrupts in mind, since these
are usually the CPU expensive ones. This patch-set introduces adaptive transmit
interrupt moderation to net DIM, complete with a usage in the mlx5e driver.
Using adaptive TX behavior would reduce interrupt rate for multiple scenarios.
Furthermore, it is essential for increasing bandwidth on cases where payload
aggregation is required.

v3: Remove "inline" from functions in .c files (requested by DaveM). Revert
adding "enabled" field from struct net_dim and applied mlx5e structural
suggestions (suggested by SaeedM).

v2: Rebase over proper tree.

v1: Fix compilation issues due to missed function renaming.

Tal Gilboa (3):
  net/dim: Rename *_get_profile() functions to *_get_rx_moderation()
  net/dim: Support adaptive TX moderation
  net/mlx5e: Enable adaptive-TX moderation

 drivers/net/ethernet/broadcom/bcmsysport.c         |  6 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c      |  8 +--
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |  6 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  4 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_dim.c   | 28 ++++++--
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   | 35 +++++++---
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  | 79 ++++++++++++++--------
 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c  | 37 +++++++---
 include/linux/net_dim.h                            | 69 ++++++++++++++-----
 9 files changed, 190 insertions(+), 82 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-04-24 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 10:36 [PATCH net-next V3 0/3] Introduce adaptive TX interrupt moderation to net DIM Tal Gilboa
2018-04-24 10:36 ` [PATCH net-next V3 1/3] net/dim: Rename *_get_profile() functions to *_get_rx_moderation() Tal Gilboa
2018-04-24 10:36 ` [PATCH net-next V3 2/3] net/dim: Support adaptive TX moderation Tal Gilboa
2018-04-24 10:36 ` [PATCH net-next V3 3/3] net/mlx5e: Enable adaptive-TX moderation Tal Gilboa
2018-04-24 14:18 ` [PATCH net-next V3 0/3] Introduce adaptive TX interrupt moderation to net DIM David Miller
2018-04-24 15:02   ` Andy Gospodarek
2018-04-24 15:08     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox