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


Groups > linux.kernel > #1539924

Re: [PATCH 4/5] net: ethernet: ti: cpsw: re-split res only when speed is changed

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 4/5] net: ethernet: ti: cpsw: re-split res only when speed is changed
Date 2016-12-10 23:40 +0100
Message-ID <sMYtc-7Xq-3@gated-at.bofh.it> (permalink)
References <sMOWR-2d6-1@gated-at.bofh.it> <sMOWR-2d6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Date: Sat, 10 Dec 2016 14:23:49 +0200

> Don't re-split res in the following cases:
> - speed of phys is not changed
> - speed of phys is changed and no rate limited channels
> - speed of phys is changed and all channels are rate limited
> - phy is unlinked while dev is open
> - phy is linked back but speed is not changed
> 
> The maximum speed is sum of "linked" phys, thus res are split taken
> in account two interfaces, both for dual emac mode and for
> switch mode.
> 
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>

Applied.

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


Thread

[PATCH 1/5] net: ethernet: ti: cpsw: improve re-split policy Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
  [PATCH 1/5] net: ethernet: ti: cpsw: use same macros to get active slave Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
  [PATCH 4/5] net: ethernet: ti: cpsw: re-split res only when speed is changed Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
    Re: [PATCH 4/5] net: ethernet: ti: cpsw: re-split res only when  speed is changed David Miller <davem@davemloft.net> - 2016-12-10 23:40 +0100
  [PATCH 5/5] net: ethernet: ti: cpsw: sync rates for channels in dual emac mode Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
    Re: [PATCH 5/5] net: ethernet: ti: cpsw: sync rates for channels  in dual emac mode David Miller <davem@davemloft.net> - 2016-12-10 23:40 +0100
  [PATCH 3/5] net: ethernet: ti: cpsw: combine budget and weight split and check Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> - 2016-12-10 13:30 +0100
    Re: [PATCH 3/5] net: ethernet: ti: cpsw: combine budget and weight  split and check David Miller <davem@davemloft.net> - 2016-12-10 23:40 +0100
  Re: [PATCH 1/5] net: ethernet: ti: cpsw: improve re-split policy David Miller <davem@davemloft.net> - 2016-12-10 23:40 +0100

csiph-web