On Wed, 9 Nov 2022 10:22:37 +0800 Huisong Li <lihuis...@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: sta...@dpdk.org > > Signed-off-by: Huisong Li <lihuis...@huawei.com> Looks good thanks. Acked-by: Stephen Hemminger <step...@networkplumber.org>