[dpdk-dev] [PATCH 2/2] bonding: fix name and port validation

2015-06-19 Thread Declan Doherty
On 10/06/15 23:06, Stephen Hemminger wrote: > From: Stephen Hemminger > > Cleanup the code in bonding that checks ports. >* Use standard rte_eth_dev_is_valid_port >* Change name of driver string to avoid variable namespace conflicts >* Get rid of unnecessary string comparison stuff. A

[dpdk-dev] [PATCH 2/2] bonding: fix name and port validation

2015-06-10 Thread Stephen Hemminger
From: Stephen Hemminger Cleanup the code in bonding that checks ports. * Use standard rte_eth_dev_is_valid_port * Change name of driver string to avoid variable namespace conflicts * Get rid of unnecessary string comparison stuff. A simple pointer check is enough here. * Get rid of un