summaryrefslogtreecommitdiffstats
path: root/scripts/check_extable.sh
diff options
context:
space:
mode:
authorGrygorii Strashko2017-01-06 21:07:33 +0100
committerDavid S. Miller2017-01-08 02:48:14 +0100
commit90225bf0ba35ab43d1e9825c22f3810826c8bfe8 (patch)
treeddc4837e5b27a7abd2d9dfdff5a95b6b8f0b01a7 /scripts/check_extable.sh
parentnet: ethernet: ti: cpdma: use devm_ioremap (diff)
downloadkernel-qcow2-linux-90225bf0ba35ab43d1e9825c22f3810826c8bfe8.tar.gz
kernel-qcow2-linux-90225bf0ba35ab43d1e9825c22f3810826c8bfe8.tar.xz
kernel-qcow2-linux-90225bf0ba35ab43d1e9825c22f3810826c8bfe8.zip
net: ethernet: ti: cpsw: add support for descs pool size configuration
The CPSW CPDMA can process buffer descriptors placed as in internal CPPI RAM as in DDR. This patch adds support in CPSW and CPDMA for descs_pool_size mudule parameter, which defines total number of CPDMA CPPI descriptors to be used for both ingress/egress packets processing: - memory size, required for CPDMA descriptor pool, is calculated basing on number of descriptors specified by user in descs_pool_size and CPDMA descriptor size and allocated from coherent memory (CMA area); - CPDMA descriptor pool will be allocated in DDR if pool memory size > internal CPPI RAM or use internal CPPI RAM otherwise; - if descs_pool_size not specified in DT - the default value 256 will be used which will allow to place CPDMA descriptors pool into the internal CPPI RAM (current default behaviour); - CPDMA will ignore descs_pool_size if descs_pool_size = 0 for backward comaptiobility with davinci_emac. descs_pool_size is boot time setting and can't be changed once CPSW/CPDMA is initialized. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/check_extable.sh')
0 files changed, 0 insertions, 0 deletions