From: Alvin Zhang Date: Sun, 25 Apr 2021 05:18:51 +0000 (+0800) Subject: net/ice: fix fast mbuf freeing X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae69b2930035509664b618c320cb03f3417be4f6;p=dpdk.git net/ice: fix fast mbuf freeing MBUF_FAST_FREE should be supported as per queue offload for ice. Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") Cc: stable@dpdk.org Signed-off-by: Alvin Zhang Acked-by: Qi Zhang --- diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index c37a2e09ce..36b8bd1975 100644 --- a/drivers/net/ice/ice_ethdev.c +++ b/drivers/net/ice/ice_ethdev.c @@ -3539,7 +3539,7 @@ ice_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) } dev_info->rx_queue_offload_capa = 0; - dev_info->tx_queue_offload_capa = 0; + dev_info->tx_queue_offload_capa = DEV_TX_OFFLOAD_MBUF_FAST_FREE; dev_info->reta_size = pf->hash_lut_size; dev_info->hash_key_size = (VSIQF_HKEY_MAX_INDEX + 1) * sizeof(uint32_t);