diff options
author | Mohammad Athari Bin Ismail <mohammad.athari.ismail@intel.com> | 2021-04-22 15:55:00 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-22 15:02:40 -0700 |
commit | 96874c619c200bc704ae2d8e34a3746350922135 (patch) | |
tree | a25b48dc780148ac67219c2b58ca7c241152a107 /kernel | |
parent | 79ebfb11fe0848e916950787bb105f1c0559a577 (diff) | |
download | lwn-96874c619c200bc704ae2d8e34a3746350922135.tar.gz lwn-96874c619c200bc704ae2d8e34a3746350922135.zip |
net: stmmac: Add HW descriptor prefetch setting for DWMAC Core 5.20 onwards
DWMAC Core 5.20 onwards supports HW descriptor prefetching.
Additionally, it also depends on platform specific RTL configuration.
This capability could be enabled by setting DMA_Mode bit-19 (DCHE).
So, to enable this cability, platform must set plat->dma_cfg->dche = true
and the DWMAC core version must be 5.20 onwards. Else, this capability
wouldn`t be configured
Signed-off-by: Mohammad Athari Bin Ismail <mohammad.athari.ismail@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions