diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2015-12-24 15:33:25 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-01-27 08:13:11 -0800 |
commit | 1c42beac808b484ed2ee75cc0403f0ffc3a516bd (patch) | |
tree | e321ef9b1282a72ace79db49f944fad5916cc313 /drivers | |
parent | 6073548a0be534c8ca52061a0d727bf156a1a816 (diff) | |
download | u-boot-imx-1c42beac808b484ed2ee75cc0403f0ffc3a516bd.zip u-boot-imx-1c42beac808b484ed2ee75cc0403f0ffc3a516bd.tar.gz u-boot-imx-1c42beac808b484ed2ee75cc0403f0ffc3a516bd.tar.bz2 |
driver: net: ldpaa: Increase num of buffers for a pool
Management Complex FW 9.0 set the hardware depletion to be 20
buffers in order to support multiple pools in DPNI. This requires
driver to fill the pool with at least 21 to be able to receive
frames. So, Increase number of buffers for a pool.
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ldpaa_eth/ldpaa_eth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.h b/drivers/net/ldpaa_eth/ldpaa_eth.h index af41b27..3b16150 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.h +++ b/drivers/net/ldpaa_eth/ldpaa_eth.h @@ -24,7 +24,7 @@ enum ldpaa_eth_type { }; /* Arbitrary values for now, but we'll need to tune */ -#define LDPAA_ETH_NUM_BUFS (2 * 7) +#define LDPAA_ETH_NUM_BUFS (7 * 7) #define LDPAA_ETH_REFILL_THRESH (LDPAA_ETH_NUM_BUFS/2) #define LDPAA_ETH_RX_BUFFER_SIZE 2048 |