Re: [dpdk-dev] [PATCH] net/bonding: fix error code when creating bonded device

2020-07-14 Thread Ferruh Yigit
On 7/14/2020 9:19 AM, Wei Hu (Xavier) wrote: > Because the return value of rte_vdev_init() has multiple non-zero values, > when rte_vdev_init() return non-zero in the rte_eth_bond_create() function, > it should return the actual error code rather than -ENOMEM. > > Fixes: 68451eb6698c ("net/bonding

[dpdk-dev] [PATCH] net/bonding: fix error code when creating bonded device

2020-07-14 Thread Wei Hu (Xavier)
Because the return value of rte_vdev_init() has multiple non-zero values, when rte_vdev_init() return non-zero in the rte_eth_bond_create() function, it should return the actual error code rather than -ENOMEM. Fixes: 68451eb6698c ("net/bonding: call through EAL on create/free") Cc: sta...@dpdk.org