[PATCH] net/bonding: fix MTU set for slaves

Ferruh Yigit ferruh.yigit at intel.com
Tue Feb 1 12:44:53 CET 2022


On 1/27/2022 9:18 AM, Min Hu (Connor) wrote:

<...>

> 在 2022/1/26 21:10, Ferruh Yigit 写道:
>> ethdev requires device to be configured before setting MTU.
>>
>> In bonding PMD, while configuring slaves, bonding first sets MTU later
>> configures them, which causes failure if slaves are not configured in
>> advance.
>>
>> Fixing by changing the order in slave configure as requested in ethdev
>> layer, configure first and set MTU later.
>>
>> Bugzilla ID: 864
>> Fixes: b26bee10ee37 ("ethdev: forbid MTU set before device configure")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Tested-by: Yu Jiang <YuX.Jiang at intel.com>
> 
> Acked-by: Min Hu (Connor) <humin29 at huawei.com>
> 

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


More information about the dev mailing list