OSDN Git Service

dpaa2-eth: Update buffer pool refill threshold
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Mon, 4 Feb 2019 17:00:37 +0000 (17:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2019 18:49:55 +0000 (10:49 -0800)
commit20fb0572826b8dca465ad97b0b7eddd78bafb7ae
tree5436b168c7bd9f0d315ab1db35c57951f112147d
parent1fa0f68c9255092c862f9280072ab0b947773b02
dpaa2-eth: Update buffer pool refill threshold

Add more buffers to the Rx buffer pool as soon as 7 of them
get consumed, instead of waiting for their number to drop
below a fixed threshold.
7 is the number of buffers that can be released in the pool
via a single DPIO command.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h