]> 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)
commit80f179717d7770264b417d98361fecafc200d125
treeb6e62d85500ffa47e347dfa4f380f3c69eaabbdf
parentfdb89d4722eb63b1e1a0ea5dc4e00a0768e97c03
parenta8186fe008f59795ece8a886ffa9e699dd2d65cb
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>