app/testpmd: fix vlan offload of rxq
PATCH 1/1 app/testpmd: fix vlan offload of rxq
After setting "vlan offload" in testpmd, the result does not update the rxq queues configuration.
Therefore, this patch is to reconfigure rxq queues after executing the "vlan offload" command.
Fixes a47aa8b97afe ("app/testpmd: add vlan offload support")
Signed-off-by Mingjin Ye <[email protected]>
--- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+)
app/test-pmd/cmdline.c +1 -0
@@ -4076,6 +4076,7 @@ cmd_vlan_offload_parsed(void *parsed_result,else vlan_extend_set (port_id, on); +cmd_reconfig_device_queue (port_id,1 ,1 );return ; }
Signature · 1 line
2.34.1
Quoted 27 lines · Mingjin Ye
After setting "vlan offload" in testpmd, the result does not update the rxq queues configuration.
Therefore, this patch is to reconfigure rxq queues after executing the "vlan offload" command.
Fixes a47aa8b97afe ("app/testpmd: add vlan offload support")Signed-off-by Mingjin Ye <[email protected]>Acked-by Aman Singh<[email protected]>--- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+)app/test-pmd/cmdline.c +1
-0@@ -4076,6 +4076,7 @@ cmd_vlan_offload_parsed(void *parsed_result,else vlan_extend_set (port_id, on); +cmd_reconfig_device_queue (port_id,1 ,1 );return ; }