> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yi...@intel.com>
> Sent: Wednesday, January 26, 2022 9:11 PM
> To: Chas Williams <ch...@att.com>; Min Hu (Connor)
> <humi...@huawei.com>; Ivan Ilchenko <ivan.ilche...@oktetlabs.ru>;
> Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>
> Cc: dev@dpdk.org; Yigit, Ferruh <ferruh.yi...@intel.com>; sta...@dpdk.org;
> Andrew Rybchenko <arybche...@solarflare.com>; Jiang, YuX
> <yux.ji...@intel.com>
> 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: sta...@dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
> ---
Tested-by: Yu Jiang <yux.ji...@intel.com>
> Cc: Andrew Rybchenko <arybche...@solarflare.com>
> Cc: yux.ji...@intel.com
> ---
Verified patchset
https://patches.dpdk.org/project/dpdk/patch/20220126131037.2403369-1-ferruh.yi...@intel.com/
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