dpaa: Reduce receive buffer seed

Seed the receive buffers of each affine software portal only with 8
mclusters (16KiB) and not 128 (256KiB).  We have processor count affine
software portals, see dpaa_bp_seed().
This commit is contained in:
Sebastian Huber 2017-10-20 14:55:13 +02:00
parent 33356a839f
commit b1fd51c25e

View File

@ -2880,7 +2880,11 @@ static struct dpaa_bp *dpaa_bp_alloc(struct device *dev)
dpaa_bp->bpid = FSL_DPAA_BPID_INV;
dpaa_bp->percpu_count = devm_alloc_percpu(dev, *dpaa_bp->percpu_count);
#ifndef __rtems__
dpaa_bp->config_count = FSL_DPAA_ETH_MAX_BUF_COUNT;
#else /* __rtems__ */
dpaa_bp->config_count = 8;
#endif /* __rtems__ */
dpaa_bp->seed_cb = dpaa_bp_seed;
dpaa_bp->free_buf_cb = dpaa_bp_free_pf;