Netdev List
 help / color / mirror / Atom feed
From: Tal Gilboa <talgi@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Tariq Toukan <tariqt@mellanox.com>,
	Tal Gilboa <talgi@mellanox.com>,
	Andy Gospodarek <andrew.gospodarek@broadcom.com>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: [PATCH net-next 0/4] Introduce adaptive TX interrupt moderation to net DIM
Date: Fri, 30 Mar 2018 09:37:29 +0300	[thread overview]
Message-ID: <1522391853-37298-1-git-send-email-talgi@mellanox.com> (raw)

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.

Tal Gilboa (4):
  net/dim: Rename *_get_profile() functions to *_get_rx_moderation()
  net/dim: Add "enabled" field to net_dim struct
  net/dim: Support adaptive TX moderation
  net/mlx5e: Enable adaptive-TX moderation

 drivers/net/ethernet/broadcom/bcmsysport.c         |  2 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c      |  8 +--
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  5 +-
 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  | 34 ++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c  | 37 ++++++++---
 include/linux/net_dim.h                            | 72 +++++++++++++++++-----
 10 files changed, 169 insertions(+), 56 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2018-03-30  6:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-30  6:37 Tal Gilboa [this message]
2018-03-30  6:37 ` [PATCH net-next 1/4] net/dim: Rename *_get_profile() functions to *_get_rx_moderation() Tal Gilboa
2018-03-30  6:37 ` [PATCH net-next 2/4] net/dim: Add "enabled" field to net_dim struct Tal Gilboa
2018-03-30  6:37 ` [PATCH net-next 3/4] net/dim: Support adaptive TX moderation Tal Gilboa
2018-03-30  6:37 ` [PATCH net-next 4/4] net/mlx5e: Enable adaptive-TX moderation Tal Gilboa
2018-03-30  6:43 ` [PATCH net-next 0/4] Introduce adaptive TX interrupt moderation to net DIM Tal Gilboa
2018-04-01  2:02 ` David Miller
2018-04-01  3:19   ` David Miller
2018-04-01  6:49     ` Tal Gilboa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1522391853-37298-1-git-send-email-talgi@mellanox.com \
    --to=talgi@mellanox.com \
    --cc=andrew.gospodarek@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@mellanox.com \
    --cc=tariqt@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox