All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tal Gilboa <talgi@mellanox.com>
To: Andy Gospodarek <andy@greyhouse.net>, netdev@vger.kernel.org
Cc: mchan@broadcom.com, ogerlitz@mellanox.com,
	Andy Gospodarek <gospo@broadcom.com>
Subject: Re: [net-next 00/10] net: create dynamic software irq moderation library
Date: Fri, 5 Jan 2018 10:14:43 +0200	[thread overview]
Message-ID: <5f8e0097-1f7a-c6b6-49ea-40bb08d3968d@mellanox.com> (raw)
In-Reply-To: <1515097290-17470-1-git-send-email-andy@greyhouse.net>

Thanks Andy for your hard work. Looks great overall!

On 1/4/2018 10:21 PM, Andy Gospodarek wrote:
> From: Andy Gospodarek <gospo@broadcom.com>
> 
> This converts the dynamic interrupt moderation library from the mlx5_en driver
> into a library so it can be used by any driver.  The penultimatepatch in this
Had to look up "penultimatepatch " :), but aren't these two words?

> set adds support for interrupt moderation in the bnxt_en driver and the last
> patch creates an entry in the MAINTAINERS file.
> 
> The main purpose of this code in the mlx5_en driver is to allow an
> administrator to make sure that default coalesce settings are optimized
> for low latency, but quickly adapt to handle high throughput traffic and
> optimize how many packets are received during each napi poll.
> 
> For any new driver the following changes would be needed to use this
> library:
> 
> - add elements in ring struct to track items needed by this library
> - create function that can be called to actually set coalesce settings
>    for the driver
> 
> Credit to Rob Rice and Lee Reed for doing some of the initial proof of
> concept and testing for this patch and Tal Gilboa and Or Gerlitz for their
> comments, etc on this set.
> 
> Andy Gospodarek (10):
>    net/mlx5e: move interrupt moderation structs to new file
>    net/mlx5e: move interrupt moderation forward declarations
>    net/mlx5e: remove rq references in mlx5e_rx_am
>    net/mlx5e: move AM logic enums
>    net/mlx5e: move generic functions to new file
>    net/mlx5e: change Mellanox references in DIM code
>    net: move dynamic interrpt coalescing code to include/linux
interrpt -> interrupt. The topic of the actual patch was fixed, only 
left in the cover.

>    net/dim: use struct net_dim_sample as arg to net_dim
>    bnxt_en: add support for software dynamic interrupt moderation
>    MAINTAINERS: add entry for Dynamic Interrupt Moderation
> 
>   MAINTAINERS                                        |   5 +
>   drivers/net/ethernet/broadcom/bnxt/Makefile        |   2 +-
>   drivers/net/ethernet/broadcom/bnxt/bnxt.c          |  52 +++
>   drivers/net/ethernet/broadcom/bnxt/bnxt.h          |  34 +-
>   drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c      |  32 ++
>   drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |  12 +
>   drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   2 +-
>   drivers/net/ethernet/mellanox/mlx5/core/en.h       |  46 +--
>   drivers/net/ethernet/mellanox/mlx5/core/en_dim.c   |  49 +++
>   .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  12 +-
>   drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  32 +-
>   drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |   4 +-
>   drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c | 341 -------------------
>   drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c  |  10 +-
>   drivers/net/ethernet/mellanox/mlx5/core/net_dim.h  | 108 ++++++
>   include/linux/mlx5/mlx5_ifc.h                      |   6 -
>   include/linux/net_dim.h                            | 372 +++++++++++++++++++++
>   17 files changed, 693 insertions(+), 426 deletions(-)
>   create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_dim.c
>   create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_dim.c
>   delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c
>   create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/net_dim.h
mlx5/core/net_dim.h was removed from code. Please fix the cover.
>   create mode 100644 include/linux/net_dim.h
> 

  parent reply	other threads:[~2018-01-05  8:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04 20:21 [net-next 00/10] net: create dynamic software irq moderation library Andy Gospodarek
2018-01-04 20:21 ` [net-next 01/10] net/mlx5e: move interrupt moderation structs to new file Andy Gospodarek
2018-01-04 20:21 ` [net-next 02/10] net/mlx5e: move interrupt moderation forward declarations Andy Gospodarek
2018-01-04 20:21 ` [net-next 03/10] net/mlx5e: remove rq references in mlx5e_rx_am Andy Gospodarek
2018-01-04 20:21 ` [net-next 04/10] net/mlx5e: move AM logic enums Andy Gospodarek
2018-01-04 20:21 ` [net-next 05/10] net/mlx5e: move generic functions to new file Andy Gospodarek
2018-01-04 20:21 ` [net-next 06/10] net/mlx5e: change Mellanox references in DIM code Andy Gospodarek
2018-01-05  8:04   ` Tal Gilboa
2018-01-05 13:55     ` Andy Gospodarek
2018-01-05 20:57     ` Andy Gospodarek
2018-01-04 20:21 ` [net-next 07/10] net: move dynamic interrupt coalescing code to include/linux Andy Gospodarek
2018-01-04 20:21 ` [net-next 08/10] net/dim: use struct net_dim_sample as arg to net_dim Andy Gospodarek
2018-01-05  8:13   ` Tal Gilboa
2018-01-04 20:21 ` [net-next 09/10] bnxt_en: add support for software dynamic interrupt moderation Andy Gospodarek
2018-01-04 22:16   ` Michael Chan
2018-01-05 13:44     ` Andy Gospodarek
2018-01-04 20:21 ` [net-next 10/10] MAINTAINERS: add entry for Dynamic Interrupt Moderation Andy Gospodarek
2018-01-04 22:36   ` Stephen Hemminger
2018-01-04 22:45     ` Andy Gospodarek
2018-01-04 20:37 ` [net-next 00/10] net: create dynamic software irq moderation library Or Gerlitz
2018-01-04 22:46   ` Andy Gospodarek
2018-01-04 21:37 ` Saeed Mahameed
2018-01-05  8:14 ` Tal Gilboa [this message]
2018-01-05 13:48   ` Andy Gospodarek

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=5f8e0097-1f7a-c6b6-49ea-40bb08d3968d@mellanox.com \
    --to=talgi@mellanox.com \
    --cc=andy@greyhouse.net \
    --cc=gospo@broadcom.com \
    --cc=mchan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@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 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.