Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1539817
| From | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/5] net: ethernet: ti: cpsw: improve re-split policy |
| Date | 2016-12-10 13:30 +0100 |
| Message-ID | <sMOWR-2d6-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patches add several simplifications and improvements to set maximum rate for channels taking in account switch and dual emac mode. 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 into account two interfaces, both for dual emac mode and for switch mode. Tested on am572x Based on net-next/master Ivan Khoronzhuk (5): net: ethernet: ti: cpsw: use same macros to get active slave net: ethernet: ti: cpsw: don't start queue twice net: ethernet: ti: cpsw: combine budget and weight split and check net: ethernet: ti: cpsw: re-split res only when speed is changed net: ethernet: ti: cpsw: sync rates for channels in dual emac mode drivers/net/ethernet/ti/cpsw.c | 178 +++++++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 79 deletions(-) -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll 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