net/mrvl: fix Rx descriptors number
authorTomasz Duszynski <tdu@semihalf.com>
Thu, 15 Mar 2018 12:12:21 +0000 (13:12 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitc3637258d8946ed3c490c358202baaaf673526ba
treef6a6a893de4bed5f670833ddd3b8cc688779c7a3
parent6f324a91df5d5d7ac7bed35e1ed80e7e5765ddd0
net/mrvl: fix Rx descriptors number

Since filling hardware buffer pool (bpool) is Rx related
constant describing maximum number of rx descriptors
instead of maximum number of Tx descriptors should be used.

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