net/dpaa2: support distribution size set on multiple TCs
authorJun Yang <jun.yang@nxp.com>
Tue, 7 Jul 2020 09:22:38 +0000 (14:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commit271f5aee8b27e848922d9d8091a128b878424181
treed3faf244a0d97e77ae93e3bbaf7e200547246de0
parentf44f55b3e4feba8c1f92942157d47d9618de2a6b
net/dpaa2: support distribution size set on multiple TCs

Default distribution size of TC is 1, which is limited by MC. We have to
set the distribution size for each TC to support multiple RXQs per TC.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/base/dpaa2_hw_dpni.c
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h