From patchwork Sun Apr 25 05:18:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alvin Zhang X-Patchwork-Id: 92113 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B00AA0548; Sun, 25 Apr 2021 07:19:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 718BD40685; Sun, 25 Apr 2021 07:19:01 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id C36244013F; Sun, 25 Apr 2021 07:18:59 +0200 (CEST) IronPort-SDR: rdrylx/QfBXzgZ/3T8ZHhPfQhhWrGnd6YMK+ceJ2SExF+anPeXx18wpWEJuKEpjbpZJ7yYddSr 71SO78glLSsQ== X-IronPort-AV: E=McAfee;i="6200,9189,9964"; a="194094974" X-IronPort-AV: E=Sophos;i="5.82,249,1613462400"; d="scan'208";a="194094974" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2021 22:18:58 -0700 IronPort-SDR: cydJBvUX6aFU/cdwEP21ERh11rszwkzuBGvlR/xM0geIDR6Vjf0LNhsiGZJEIPuGE6mrqtbUYu en+IZhQV8ALw== X-IronPort-AV: E=Sophos;i="5.82,249,1613462400"; d="scan'208";a="464746615" 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:18:56 -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:18:51 +0800 Message-Id: <20210425051851.21124-1-alvinx.zhang@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20210425051343.13288-1-alvinx.zhang@intel.com> References: <20210425051343.13288-1-alvinx.zhang@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2] net/ice: fix mbuf fast freeing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" As i40e support per queue MBUF_FAST_FREE, ice should have the same implementation. Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx") Cc: stable@dpdk.org Signed-off-by: Alvin Zhang Acked-by: Qi 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);