net: mvneta: Do not allocate buffer in rxq init with HWBM
authorGregory CLEMENT <[email protected]>
Thu, 1 Dec 2016 17:03:05 +0000 (18:03 +0100)
committerDavid S. Miller <[email protected]>
Fri, 2 Dec 2016 18:52:00 +0000 (13:52 -0500)
commite9f6499965c64109e296f61e3aa7fd91f9f2233c
treef196858aaffd4755844c6db5675a2d39b385901e
parentac83b7ddf227d85542fc2e186884b003cfdb99f7
net: mvneta: Do not allocate buffer in rxq init with HWBM

For HWBM all buffers are allocated in mvneta_bm_construct() and in runtime
they are put into descriptors by hardware. There is no need to fill them
at this point.

Suggested-by: Marcin Wojtas <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Tested-by: Marcin Wojtas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvneta.c