[dpdk-dev] [PATCH v2] net/ice: fix mbuf fast freeing

Alvin Zhang alvinx.zhang at intel.com
Sun Apr 25 07:18:51 CEST 2021


As i40e support per queue MBUF_FAST_FREE, ice should have the
same implementation.

Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx")
Cc: stable at dpdk.org

Signed-off-by: Alvin Zhang <alvinx.zhang at intel.com>
---
 drivers/net/ice/ice_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index f0dc543..d4f0c3f 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -3530,7 +3530,7 @@ static int ice_init_rss(struct ice_pf *pf)
 	}
 
 	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);
-- 
1.8.3.1



More information about the dev mailing list