Re: [dpdk-dev] [PATCH v2] net/mlx4: fix targetless internal rule creation

2017-10-24 Thread Ferruh Yigit
On 10/24/2017 3:05 AM, Matan Azrad wrote: > The corrupted code allowed to create internal rule with no any target queue > in case the rule creation occurred before queues creation. > > For example, when user calls rte_eth_dev_default_mac_addr_set after probe > and before dev_configure, mlx4 fails

[dpdk-dev] [PATCH v2] net/mlx4: fix targetless internal rule creation

2017-10-24 Thread Matan Azrad
The corrupted code allowed to create internal rule with no any target queue in case the rule creation occurred before queues creation. For example, when user calls rte_eth_dev_default_mac_addr_set after probe and before dev_configure, mlx4 fails because the RSS queue number was 0. The fix prevent