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


Groups > linux.kernel > #1532393

[PATCH 0/5] cpsw: add per channel shaper configuration

From Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/5] cpsw: add per channel shaper configuration
Date 2016-11-29 16:10 +0100
Message-ID <sIScG-1DN-25@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This series is intended to allow user to set rate for per channel
shapers at cpdma level. This patchset doesn't have impact on performance.
The rate can be set with:

echo 100 > /sys/class/net/ethX/queues/tx-0/tx_maxrate

Tested on am572xx
Based on net-next/master

Ivan Khoronzhuk (5):
  net: ethernet: ti: davinci_cpdma: add weight function for channels
  net: ethernet: ti: davinci_cpdma: add set rate for a channel
  net: ethernet: ti: cpsw: add .ndo to set per-queue rate
  net: ethernet: ti: cpsw: optimize end of poll cycle
  net: ethernet: ti: cpsw: split tx budget according between channels

 drivers/net/ethernet/ti/cpsw.c          | 264 +++++++++++++++----
 drivers/net/ethernet/ti/davinci_cpdma.c | 453 ++++++++++++++++++++++++++++----
 drivers/net/ethernet/ti/davinci_cpdma.h |   6 +
 3 files changed, 624 insertions(+), 99 deletions(-)

-- 
2.7.4

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


Thread

[PATCH 0/5] cpsw: add per channel shaper configuration Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-11-29 16:10 +0100
  [PATCH 1/5] net: ethernet: ti: davinci_cpdma: add weight function for channels Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-11-29 16:10 +0100
  [PATCH 3/5] net: ethernet: ti: cpsw: add .ndo to set per-queue rate Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-11-29 16:10 +0100
  Re: [PATCH 0/5] cpsw: add per channel shaper configuration David Miller <davem@davemloft.net> - 2016-11-30 20:40 +0100
  Re: [PATCH 0/5] cpsw: add per channel shaper configuration Grygorii Strashko <grygorii.strashko@ti.com> - 2016-12-05 21:40 +0100
    Re: [PATCH 0/5] cpsw: add per channel shaper configuration Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-05 22:00 +0100
    Re: [PATCH 0/5] cpsw: add per channel shaper configuration Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-06 14:40 +0100

csiph-web