Re: [ovs-dev] [PATCH 1/2] lib/netdev-dpdk: make device name parsing more robust

2016-02-23 Thread Daniele Di Proietto
Thanks! I applied the following incremental (minor style fixes) and push this to master diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index d0c3d66..f94e0d4 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -649,10 +649,11 @@ dpdk_dev_parse_name(const char dev_name[], const char prefi

[ovs-dev] [PATCH 1/2] lib/netdev-dpdk: make device name parsing more robust

2016-02-23 Thread Mauricio Vasquez B
Current implementation of dpdk_dev_parse_name does not perform a robust error handling, port names as "dpdkr" and "dpdkr1x" are considered valid. With this patch only positive port numbers in decimal notation are considered valid. Signed-off-by: Mauricio Vasquez B --- v3: - use str_to_uint lib