Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1456728

[PATCH 0/2] Add ability to configure ethernet h/w shaper

From Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] Add ability to configure ethernet h/w shaper
Date 2016-08-04 23:20 +0200
Message-ID <s2ydz-6EW-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


These two patches can be used to set per queue bandwidth with ethtool.
I've create them as logical continuation of patchset from intel,
that have introduced per-queue setting command month ago for ethtool
interface
(http://kernel.opensuse.org/cgit/kernel-source/commit/?h=rpm-4.4.9-36&
id=feaab26abfffe381fb4c8c10d2762a753d481c6c). Actually I've not tested this
interface and planning to send it in parallel with
"net: ethernet: ti: cpsw: add multi-queue support"
(https://lkml.org/lkml/2016/6/30/603), as it contains only changes to
ethtool interface.

First patch can be used to set per-channel bandwidth, second to tune
number of per-channel descriptors. It can solve issues described by
Schuyler. In case if per-channel bandwidth is equal to maximum
for every channel, the driver could be switched to priority mode.

Ivan Khoronzhuk (2):
  net: core: ethtool: add per queue bandwidth command
  net: core: ethtool: add ringparam perqueue command

 include/linux/ethtool.h      |   8 ++
 include/uapi/linux/ethtool.h |   2 +
 net/core/ethtool.c           | 206 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 216 insertions(+)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add ability to configure ethernet h/w shaper Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-08-04 23:20 +0200
  [PATCH 2/2] net: core: ethtool: add ringparam perqueue command Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-08-04 23:20 +0200
  Re: [PATCH 0/2] Add ability to configure ethernet h/w shaper Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-08-04 23:20 +0200

csiph-web