Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1537772
| From | Niklas Cassel <niklas.cassel@axis.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 0/6] net: stmmac: make DMA programmable burst length more configurable |
| Date | 2016-12-07 15:30 +0100 |
| Message-ID | <sLLol-1fC-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Make DMA programmable burst length more configurable in the stmmac driver. This is done by adding support for independent pbl for tx/rx through DT. More fine grained tuning of pbl is possible thanks to a DT property saying that we should NOT multiply pbl values by x8/x4 in hardware. All new DT properties are optional, and created in a way that it will not affect any existing DT configurations. Changes since V1: Created cover-letter. Rebased patch set against next-20161205, since conflicting patches to stmmac_platform.c has been merged since V1. Changes since V2: Moved default value initialization of pbl to stmmac_platform.c and added a check for pbl != 0 in stmmac_main.c, to catch a possble pbl == 0 from pci glue. Niklas Cassel (6): net: stmmac: return error if no DMA configuration is found net: stmmac: simplify the common DMA init API net: stmmac: stmmac_platform: fix parsing of DT binding net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK net: stmmac: add support for independent DMA pbl for tx/rx net: smmac: allow configuring lower pbl values Documentation/devicetree/bindings/net/stmmac.txt | 8 +++++- Documentation/networking/stmmac.txt | 24 +++++++++++----- drivers/net/ethernet/stmicro/stmmac/common.h | 4 +-- drivers/net/ethernet/stmicro/stmmac/dwmac1000.h | 2 +- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 26 ++++++++++-------- drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 7 +++-- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 25 ++++++++++------- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 14 ++++------ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 ++ .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 32 ++++++++++++---------- include/linux/stmmac.h | 3 ++ 11 files changed, 88 insertions(+), 59 deletions(-) -- 2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 0/6] net: stmmac: make DMA programmable burst length more configurable Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
[PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 10:10 +0100
Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding Niklas Cassel <niklas.cassel@axis.com> - 2016-12-08 10:50 +0100
Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 11:00 +0100
[PATCH v3 6/6] net: smmac: allow configuring lower pbl values Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 6/6] net: smmac: allow configuring lower pbl values Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 11:50 +0100
Re: [PATCH v3 6/6] net: smmac: allow configuring lower pbl values Andreas Färber <afaerber@suse.de> - 2016-12-08 15:10 +0100
Re: [PATCH v3 6/6] net: smmac: allow configuring lower pbl values David Miller <davem@davemloft.net> - 2016-12-08 16:20 +0100
[PATCH v3 1/6] net: stmmac: return error if no DMA configuration is found Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 1/6] net: stmmac: return error if no DMA configuration is found Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 11:50 +0100
Re: [PATCH v3 1/6] net: stmmac: return error if no DMA configuration is found David Miller <davem@davemloft.net> - 2016-12-08 16:20 +0100
Re: [PATCH v3 1/6] net: stmmac: return error if no DMA configuration is found Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 16:50 +0100
[PATCH v3 2/6] net: stmmac: simplify the common DMA init API Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 2/6] net: stmmac: simplify the common DMA init API Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 10:00 +0100
[PATCH v3 5/6] net: stmmac: add support for independent DMA pbl for tx/rx Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 5/6] net: stmmac: add support for independent DMA pbl for tx/rx Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 11:40 +0100
[PATCH v3 4/6] net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK Niklas Cassel <niklas.cassel@axis.com> - 2016-12-07 15:30 +0100
Re: [PATCH v3 4/6] net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK Alexandre Torgue <alexandre.torgue@st.com> - 2016-12-08 10:20 +0100
Re: [PATCH v3 0/6] net: stmmac: make DMA programmable burst length more configurable David Miller <davem@davemloft.net> - 2016-12-08 19:10 +0100
csiph-web