2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/net/ethernet/marvell
Ezequiel Garcia d74c96c10c net: mvpp2: Fix the BM pool buffer release check
After a call to mvpp2_bm_bufs_free(), the caller usually wants to know
if the function successfully freed the requested number. However, this
cannot be done by looking into the BM pool count, because the current
buffer count was updated by mvpp2_bm_bufs_free().

In fact, the current callers of mvpp2_bm_bufs_free() use it to release
all the buffers in the pool, so we can fix this by simply checking
if the pool is not empty.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-22 19:50:30 -07:00
..
Kconfig ethernet: Add new driver for Marvell Armada 375 network unit 2014-07-10 17:18:24 -07:00
Makefile ethernet: Add new driver for Marvell Armada 375 network unit 2014-07-10 17:18:24 -07:00
mv643xx_eth.c net: mv643xx_eth: Avoid unmapping the TSO header buffers 2014-06-02 16:16:06 -07:00
mvmdio.c net: mvmdio: Use devm_* API to simplify the code 2014-05-23 15:31:49 -04:00
mvneta.c net: mvneta: Fix big endian issue in mvneta_txq_desc_csum() 2014-07-08 20:51:36 -07:00
mvpp2.c net: mvpp2: Fix the BM pool buffer release check 2014-07-22 19:50:30 -07:00
pxa168_eth.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
skge.c skge: Added FS A8NE-FM to the list of 32bit DMA boards 2014-06-18 16:44:42 -07:00
skge.h
sky2.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00