diff options
author | Stefan Chulski <stefanc@marvell.com> | 2018-03-05 17:16:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-05 20:55:54 +0300 |
commit | effbf5f58d64b1d1f93cb687d9797b42f291d5fd (patch) | |
tree | 84c30c1e467e561a409159328deb3390d5ab8eb6 /drivers/vfio | |
parent | 01d049366529544f1df44139f5ca225d4c36ec31 (diff) | |
download | linux-effbf5f58d64b1d1f93cb687d9797b42f291d5fd.tar.xz |
net: mvpp2: update the BM buffer free/destroy logic
The buffer free routine is updated to release only given a number of
buffers, and the destroy routine now checks the actual number of buffers
in the (BPPI and BPPE) HW counters before draining the pools. This
change helps getting jumbo frames support.
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
[Antoine: cosmetic cleanup, commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions