diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-12-01 18:03:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-02 13:52:00 -0500 |
commit | e9f6499965c64109e296f61e3aa7fd91f9f2233c (patch) | |
tree | f196858aaffd4755844c6db5675a2d39b385901e | |
parent | ac83b7ddf227d85542fc2e186884b003cfdb99f7 (diff) |
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 <mw@semihalf.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c |