From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Kan Liang <kan.liang@intel.com>,
netdev@vger.kernel.org, davem@davemloft.net, bwh@kernel.org,
ben@decadent.org.uk
Cc: andi@firstfloor.org, jesse.brandeburg@intel.com,
shannon.nelson@intel.com, f.fainelli@gmail.com,
alexander.duyck@gmail.com, carolyn.wyborny@intel.com,
donald.c.skidmore@intel.com, mitch.a.williams@intel.com,
ogerlitz@mellanox.com, edumazet@google.com, jiri@mellanox.com,
sfeldma@gmail.com, gospo@cumulusnetworks.com,
sasha.levin@oracle.com, dsahern@gmail.com, tj@kernel.org,
cascardo@redhat.com, corbet@lwn.net, decot@googlers.com
Subject: Re: [PATCH V7 0/8] ethtool per queue parameters support
Date: Fri, 19 Feb 2016 13:50:18 -0800 [thread overview]
Message-ID: <1455918618.3016.36.camel@intel.com> (raw)
In-Reply-To: <1455891846-12271-1-git-send-email-kan.liang@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3656 bytes --]
On Fri, 2016-02-19 at 09:23 -0500, Kan Liang wrote:
> Modern network interface controllers usually support multiple receive
> and transmit queues. Each queue may have its own parameters. For
> example, Intel XL710/X710 hardware supports per queue interrupt
> moderation. However, current ethtool does not support per queue
> parameters option. User has to set parameters for the whole NIC.
> This series extends ethtool to support per queue parameters option.
>
> Since the support of per queue parameters vary with different cards,
> it is impossible to address all cards in one patch. This series only
> supports per queue coalesce options on i40e driver. The framework
> used
> in the patch can be easily extended to other cards and parameters.
>
> The lib bitmap needs to be extended to facilitate exchanging queue
> bitmaps
> between user space and kernel space. Two patches from David's latest
> V8
> patch series are also cited in this series. You may refer to
> https://lkml.org/lkml/2016/2/9/919 for more details.
>
> Changes since V6:
> - Rebase on commit 76d13b568776. Did minor change in patch 6.
>
> Changes since V5:
> - Add test_bitmap.c and bitmap.sh in the series. They are forgot
> to be added previously.
> - Update the first two patches to David's latest V8 version. The
> changes
> include
> - bitmap u32 API returns number of bits copied, unit tests
> updated
> - module_exit in test_bitmap
> - Also change the mode of bitmap.sh to 755 according to Ben's
> suggestion
>
> Changes since V4:
> - Modify set/get_per_queue_coalesce function description
> - Change the queue number to be u32
> - Correct an error of calculating coalesce backup buffer address
> - Rename queue_num to n_queues
> - Don't log error message in __i40e_get_coalesce
>
> Changes since V3:
> - Based on David's lib bitmap.
> - ETHTOOL_PERQUEUE should be handled before the containing switch
> - Make the rollback code unconditional
> - some minor changes according to Ben's feedback
>
> Changes since V2:
> - Add queue-specific settings for interrupt moderation in i40e
>
> Changes since V1:
> - Checking the sub-command number to determine whether the command
> requires CAP_NET_ADMIN
> - Refine the struct ethtool_per_queue_op and improve the comments
> - Use bitmap functions to parse queue mask
> - Improve comments
> - Use bitmap functions to parse queue mask
> - Improve comments
> - Add rollback support
> - Correct the way to find the vector for specific queue.
>
> David Decotigny (2):
> lib/bitmap.c: conversion routines to/from u32 array
> test_bitmap: unit tests for lib/bitmap.c
>
> Kan Liang (6)
> net/ethtool: introduce a new ioctl for per queue setting
> net/ethtool: support get coalesce per queue
> net/ethtool: support set coalesce per queue
> i40e: queue-specific settings for interrupt moderation
> i40e/ethtool: support coalesce getting by queue
> i40e/ethtool: support coalesce setting by queue
>
> drivers/net/ethernet/intel/i40e/i40e.h | 7 -
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 15 +-
> drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 151 +++++++----
> drivers/net/ethernet/intel/i40e/i40e_main.c | 12 +-
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 9 +-
> drivers/net/ethernet/intel/i40e/i40e_txrx.h | 8 +
Dave, I have pretty much cleared out my i40e queue of patches, so I am
fine if you want to apply the entire series (of course after proper
review) :-)
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-02-19 21:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-19 14:23 [PATCH V7 0/8] ethtool per queue parameters support Kan Liang
2016-02-19 14:23 ` [PATCH V7 1/8] lib/bitmap.c: conversion routines to/from u32 array Kan Liang
2016-02-19 14:24 ` [PATCH V7 2/8] test_bitmap: unit tests for lib/bitmap.c Kan Liang
2016-02-19 14:24 ` [PATCH V7 3/8] net/ethtool: introduce a new ioctl for per queue setting Kan Liang
2016-02-19 14:24 ` [PATCH V7 4/8] net/ethtool: support get coalesce per queue Kan Liang
2016-02-19 14:24 ` [PATCH V7 5/8] net/ethtool: support set " Kan Liang
2016-02-19 14:24 ` [PATCH V7 6/8] i40e: queue-specific settings for interrupt moderation Kan Liang
2016-02-19 21:54 ` Jeff Kirsher
2016-02-19 14:24 ` [PATCH V7 7/8] i40e/ethtool: support coalesce getting by queue Kan Liang
2016-02-19 21:55 ` Jeff Kirsher
2016-02-19 14:24 ` [PATCH V7 8/8] i40e/ethtool: support coalesce setting " Kan Liang
2016-02-19 21:56 ` Jeff Kirsher
2016-02-19 21:50 ` Jeff Kirsher [this message]
2016-02-20 0:59 ` [PATCH V7 0/8] ethtool per queue parameters support David Miller
2016-02-20 3:54 ` David Miller
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=1455918618.3016.36.camel@intel.com \
--to=jeffrey.t.kirsher@intel.com \
--cc=alexander.duyck@gmail.com \
--cc=andi@firstfloor.org \
--cc=ben@decadent.org.uk \
--cc=bwh@kernel.org \
--cc=carolyn.wyborny@intel.com \
--cc=cascardo@redhat.com \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=decot@googlers.com \
--cc=donald.c.skidmore@intel.com \
--cc=dsahern@gmail.com \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=gospo@cumulusnetworks.com \
--cc=jesse.brandeburg@intel.com \
--cc=jiri@mellanox.com \
--cc=kan.liang@intel.com \
--cc=mitch.a.williams@intel.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=sasha.levin@oracle.com \
--cc=sfeldma@gmail.com \
--cc=shannon.nelson@intel.com \
--cc=tj@kernel.org \
/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.