diff options
author | Marian Rotariu <marian.rotariu@freescale.com> | 2014-06-03 15:57:37 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-06-03 17:42:18 (GMT) |
commit | 043fa544a260d1884fccfaa908e588be8f1db1fc (patch) | |
tree | 2b9d45b1ff96f9e9579dc22a0f6f47266d226e57 /drivers/pps | |
parent | 21885b41ac57b5e932840351cd53375460008248 (diff) | |
download | linux-fsl-qoriq-043fa544a260d1884fccfaa908e588be8f1db1fc.tar.xz |
onic: increase frequency of draining
The draining function will be executed when each CPU has added more than 8
buffers in the draining pool. In some conditions, the sock buffers waits for
the Ethernet driver to release the buffer in order to continue its
transmission.
To avoid memory depletion in the sock buffers, the Ethernet driver will release
faster the received skb from the stack.
This patch makes onic to call the drain procedure on RX path also even if there
is only one buffer in the bpool.
Change-Id: I19f800bbd17c23fda5739b7613fab3da355c6fbc
Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/13095
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions