From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EA3EA04FD; Tue, 14 Jan 2020 03:49:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C29A61C12E; Tue, 14 Jan 2020 03:49:31 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 13E0B1C126 for ; Tue, 14 Jan 2020 03:49:29 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2020 18:49:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,431,1571727600"; d="scan'208";a="217598663" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga008.jf.intel.com with ESMTP; 13 Jan 2020 18:49:27 -0800 Date: Tue, 14 Jan 2020 10:49:24 +0800 From: Ye Xiaolong To: Chenxu Di Cc: dev@dpdk.org, Yang Qiming Message-ID: <20200114024923.GC33538@intel.com> References: <20191203055134.72874-1-chenxux.di@intel.com> <20200113095708.67598-1-chenxux.di@intel.com> <20200113095708.67598-5-chenxux.di@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200113095708.67598-5-chenxux.di@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v9 4/4] net/e1000: cleanup Tx buffers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On 01/13, Chenxu Di wrote: >Add support to the igb vf for the API rte_eth_tx_done_cleanup > to force free consumed buffers on Tx ring. > >Signed-off-by: Chenxu Di >--- > drivers/net/e1000/igb_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c >index a3e30dbe5..647d5504f 100644 >--- a/drivers/net/e1000/igb_ethdev.c >+++ b/drivers/net/e1000/igb_ethdev.c What about em_ethdev.c in e1000 dir, do we need to add support as well? Thanks, Xiaolong >@@ -446,6 +446,7 @@ static const struct eth_dev_ops igbvf_eth_dev_ops = { > .tx_descriptor_status = eth_igb_tx_descriptor_status, > .tx_queue_setup = eth_igb_tx_queue_setup, > .tx_queue_release = eth_igb_tx_queue_release, >+ .tx_done_cleanup = eth_igb_tx_done_cleanup, > .set_mc_addr_list = eth_igb_set_mc_addr_list, > .rxq_info_get = igb_rxq_info_get, > .txq_info_get = igb_txq_info_get, >-- >2.17.1 >