From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2D90FA0548 for ; Sun, 25 Apr 2021 07:13:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE1B64013F; Sun, 25 Apr 2021 07:13:52 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 1A9F14013F; Sun, 25 Apr 2021 07:13:50 +0200 (CEST) IronPort-SDR: jrKAqPvGgpOkkLl+wbWrvzpCkH3QVin8fYXBtUYdZ1MLdlJ4WJWXa13pLGETegZIxahRC84JLk uQy8ndyidjbQ== X-IronPort-AV: E=McAfee;i="6200,9189,9964"; a="260165613" X-IronPort-AV: E=Sophos;i="5.82,249,1613462400"; d="scan'208";a="260165613" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2021 22:13:49 -0700 IronPort-SDR: 7cWpVnUfDrZ877iZMcBlw4y+HH+SQEAT1rJ4eitIIJWFVj5CRo59z8ruZjGJJzL3IY9bLIa3jB bh6ZjPdPKEIg== X-IronPort-AV: E=Sophos;i="5.82,249,1613462400"; d="scan'208";a="464745937" Received: from shwdenpg235.ccr.corp.intel.com ([10.240.182.60]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2021 22:13:47 -0700 From: Alvin Zhang To: qi.z.zhang@intel.com Cc: dev@dpdk.org, Alvin Zhang , stable@dpdk.org Date: Sun, 25 Apr 2021 13:13:43 +0800 Message-Id: <20210425051343.13288-1-alvinx.zhang@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] net/ice: fix mbuf fast freeing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" As i40e support per queue MBUF_FAST_FREE, ice should have the same implemenation. Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") Cc: stable@dpdk.org Signed-off-by: Alvin Zhang --- 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