examples/kni: fix MTU change to setup Tx queue
authorRasesh Mody <rmody@marvell.com>
Thu, 14 May 2020 04:09:38 +0000 (21:09 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 May 2020 16:29:38 +0000 (18:29 +0200)
commita26b116749a38db09223cfbb18f4c349f2bbae8e
tree781537f8b56b6144a1e3016046fedf6059dd213a
parent31246a328f5224ac0e0c99ed9f881b3a683c7d31
examples/kni: fix MTU change to setup Tx queue

This patch adds a fix to setup Tx queue when changing KNI interface MTU.
It ensures device can safely start txq post MTU change operation.

Fixes: fc9ee41b7016 ("examples/kni: convert to new ethdev offloads API")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rmody@marvell.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/kni/main.c