[PATCH V2] net/bonding: fix bond3 and bond4 process mbuf fast free
Stephen Hemminger
stephen at networkplumber.org
Wed Nov 9 04:24:17 CET 2022
On Wed, 9 Nov 2022 10:22:37 +0800
Huisong Li <lihuisong at huawei.com> wrote:
> The RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE offload can't be used in bonding
> mode Broadcast and mode 8023AD. Currently, bonding driver forcibly removes
> from the dev->data->dev_conf.txmode.offloads and processes as success in
> bond_ethdev_configure(). But this still cause that rte_eth_dev_configure()
> fails to execute because of the failure of validating Tx offload in the
> eth_dev_validate_offloads(). So this patch moves the modification of txmode
> offlaods to the stage of adding slave device to report the correct txmode
> offloads.
>
> Fixes: 18c41457cbae ("net/bonding: fix mbuf fast free usage")
> Cc: stable at dpdk.org
>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
Looks good thanks.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list