numam-dpdk/drivers/net/bonding
Min Hu (Connor) 18c41457cb net/bonding: fix mbuf fast free usage
Usage of 'RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE' offload has two
constraints: per-queue all mbufs comes from the same mempool and
has refcnt = 1.

Bonding mode Broadcast, Tx mbuf has more than one refcnt.
Bonding mode 8023AD, It contains two mempools separately for LACP
packets and other packets. In Tx or Rx, Fast mbuf free will operate
mbuf from different mempool.

This patch will prevent 'RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE' offload
when in bonding mode Broadcast and mode 8023AD.

Fixes: 78aecefed9 ("bond: move param parsing in configure step")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2022-05-25 18:01:33 +02: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 slaves initializing on MTU setting 2022-02-17 12:55:21 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_eth_bond_8023ad.c fix spelling in comments and strings 2022-01-11 12:16:53 +01: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 slaves initializing on MTU setting 2022-02-17 12:55:21 +01:00
rte_eth_bond_args.c devargs: add common key definition 2021-07-05 16:33:18 +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 usage 2022-05-25 18:01:33 +02:00
rte_eth_bond.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00