> -----Original Message-----
> From: Yigit, Ferruh <[email protected]>
> Sent: Wednesday, January 26, 2022 9:11 PM
> To: Chas Williams <[email protected]>; Min Hu (Connor)
> <[email protected]>; Ivan Ilchenko <[email protected]>;
> Andrew Rybchenko <[email protected]>
> Cc: [email protected]; Yigit, Ferruh <[email protected]>; [email protected];
> Andrew Rybchenko <[email protected]>; Jiang, YuX
> <[email protected]>
> Subject: [PATCH] net/bonding: fix MTU set for slaves
>
> 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: [email protected]
>
> Signed-off-by: Ferruh Yigit <[email protected]>
> ---
Tested-by: Yu Jiang <[email protected]>
> Cc: Andrew Rybchenko <[email protected]>
> Cc: [email protected]
> ---
Verified patchset
https://patches.dpdk.org/project/dpdk/patch/[email protected]/
on baseline v22.03-rc0's 8a5a91401d .
Tested pass on nic Ethernet Connection X722 for 10GbE SFP+
37d0/Ubuntu21.10,5.13.0-19-generic