On 11/9/22 06:24, Stephen Hemminger wrote:
On Wed, 9 Nov 2022 10:22:37 +0800 Huisong Li <[email protected]> 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: [email protected] Signed-off-by: Huisong Li <[email protected]>Looks good thanks. Acked-by: Stephen Hemminger <[email protected]>
Applied to dpdk-next-net/main, thanks.

