net/mvpp2: fix array initialization
authorTomasz Duszynski <tdu@semihalf.com>
Fri, 24 Aug 2018 18:30:00 +0000 (20:30 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 28 Aug 2018 13:27:39 +0000 (15:27 +0200)
commitfe37bf0f7d43ceab88a3b71ef1b13d509c1b7bb9
tree58cd0bd6b37aa33bf3ece904d77748e63a624b6d
parent4b4ab496c97860f4064b5c4b3ffd2b801767f3fb
net/mvpp2: fix array initialization

Fix used_bpools array initialization by using range initializer.
This way all necessary variables are properly initialized regardless
of PP2_NUM_PKT_PROC value.

Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
drivers/net/mvpp2/mrvl_ethdev.c