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

Ferruh Yigit ferruh.yigit at intel.com
Tue Jul 14 13:58:04 CEST 2020


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: call through EAL on create/free")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wei Hu (Xavier) <xavier.huwei at huawei.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list