memif: fix the default txq placement 62/34462/3
authorMohsin Kazmi <sykazmi@cisco.com>
Thu, 11 Nov 2021 15:40:10 +0000 (15:40 +0000)
committerDamjan Marion <dmarion@me.com>
Fri, 12 Nov 2021 12:33:46 +0000 (12:33 +0000)
commit2bae16b238bdc446c865ce79508c0d2e2c710f16
tree9555898e0ddec7a534fa08bc9c9c040f8a14b7d4
parent9432340362a0eb8fe5ed39cdac0a907f0f50a461
memif: fix the default txq placement

Type: fix

Fixes: 3effb4e63068 ("memif: integrate with new tx infra")

"memif: integrate with new tx infra" patch integrated memif
with new tx infra. There might be scenarios when txqs were
less than vpp threads, in which case, txqs should be shared
among threads. This patch fixes it.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I1c64a1370f5024240ab56311f75665db31714b60
src/plugins/memif/memif.c