[PATCH] net/bonding: fix MTU set for slaves
Jiang, YuX
yux.jiang at intel.com
Thu Jan 27 05:07:52 CET 2022
> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yigit at intel.com>
> Sent: Wednesday, January 26, 2022 9:11 PM
> To: Chas Williams <chas3 at att.com>; Min Hu (Connor)
> <humin29 at huawei.com>; Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>;
> Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; stable at dpdk.org;
> Andrew Rybchenko <arybchenko at solarflare.com>; Jiang, YuX
> <yux.jiang at 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: stable at dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
Tested-by: Yu Jiang <YuX.Jiang at intel.com>
> Cc: Andrew Rybchenko <arybchenko at solarflare.com>
> Cc: yux.jiang at intel.com
> ---
Verified patchset https://patches.dpdk.org/project/dpdk/patch/20220126131037.2403369-1-ferruh.yigit@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
More information about the dev
mailing list