app/testpmd: rename ambiguous VF config variable
authorDavid Marchand <david.marchand@redhat.com>
Fri, 26 Jul 2019 07:59:49 +0000 (09:59 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jul 2019 21:38:30 +0000 (23:38 +0200)
commit5e16d9447a1e3404abd38fe4da6ea4f6c8addd05
tree51d3705eeff6bd497eda32a961b10a3c752bedd9
parent3e6b0d5f69da2130e60b535e57fd065746b932a8
app/testpmd: rename ambiguous VF config variable

Caught while looking at the rx offloads code.

rx_mode is a global variable for the default rx configuration.
Rename the local rx_mode variable in cmd_set_vf_rxmode_parsed.

Fixes: 7741e4cf16c0 ("app/testpmd: VMDq and DCB updates")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline.c