[dpdk-dev] [PATCH] testpmd: Fix segment fault when port ID greater than 76

2015-07-30 Thread Thomas Monjalon
2015-07-29 02:32, Michael Qiu: > In testpmd, when using "rx_vlan add 1 77", it will be a segment fault > Because the port ID should be less than 32. > > Signed-off-by: Michael Qiu Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Applied, thanks

[dpdk-dev] [PATCH] testpmd: Fix segment fault when port ID greater than 76

2015-07-29 Thread Michael Qiu
In testpmd, when using "rx_vlan add 1 77", it will be a segment fault Because the port ID should be less than 32. Signed-off-by: Michael Qiu --- app/test-pmd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index