]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stmmac-DMA-burst'
authorDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 18:07:11 +0000 (13:07 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 18:07:11 +0000 (13:07 -0500)
commit1da3a64e49952a07300fba67c059cc017e35b7a8
treeb6e62d85500ffa47e347dfa4f380f3c69eaabbdf
parentc69c690ef0400b82c590212ec75a097aafe21146
parent0c4aa0092e4e576a9049666f999e49bf95fa681c
Merge branch 'stmmac-DMA-burst'

Niklas Cassel says:

====================
net: stmmac: make DMA programmable burst length more configurable

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>