numam-dpdk/drivers/net/bonding
Huisong Li b4924c0db5 net/bonding: fix mbuf fast free handling
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: 18c41457cb ("net/bonding: fix mbuf fast free usage")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
2022-11-10 07:40:22 +01:00
..
bonding_testpmd.c app/testpmd: update bonding configuration for new slave 2022-11-07 06:33:37 +01:00
eth_bond_8023ad_private.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
eth_bond_private.h net/bonding: fix device configure reentrancy 2022-11-06 10:36:55 +01:00
meson.build drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
rte_eth_bond_8023ad.c net/bonding: call Tx prepare before Tx burst 2022-10-20 08:36:34 +02:00
rte_eth_bond_8023ad.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
rte_eth_bond_alb.c net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
rte_eth_bond_alb.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
rte_eth_bond_api.c net/bonding: fix mbuf fast free handling 2022-11-10 07:40:22 +01:00
rte_eth_bond_args.c bus: hide bus object 2022-09-23 16:14:34 +02:00
rte_eth_bond_flow.c eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
rte_eth_bond_pmd.c net/bonding: fix mbuf fast free handling 2022-11-10 07:40:22 +01:00
rte_eth_bond.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
version.map version: 22.11-rc0 2022-07-21 12:13:48 +02:00