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 956DAA04F0; Mon, 13 Jan 2020 12:09:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6D8B81D51B; Mon, 13 Jan 2020 12:09:04 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 114191D51B for ; Mon, 13 Jan 2020 12:09:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2020 03:09:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,428,1571727600"; d="scan'208";a="212966591" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga007.jf.intel.com with ESMTP; 13 Jan 2020 03:09:01 -0800 Received: from orsmsx126.amr.corp.intel.com (10.22.240.126) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 13 Jan 2020 03:09:00 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX126.amr.corp.intel.com (10.22.240.126) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 13 Jan 2020 03:09:00 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 13 Jan 2020 03:09:00 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J5JFA8vOWPZdKNqHCVGoDfJiWYaU2Q+2q23U5dYYS1QTTDb2Fg+0+1jxsq1A49+SWKwCEaqOU0t4uyjPvDMdpeq70r76iCPVTGhKaTsJ2XBNFj8RNRBYPhYRWG9vsYfs7yBZ6iJnsceudgHJphK5/WlqW22Vof+XrrCIH0uYKil6ExKlmBJUjNBNeNCsR8gwFlAEXZ1oQT2ICsYG+TvTgFBrLq2pXyxIQKEr0ioKPwc18ypvzmlzFxunJDddHOJm9GGHGDr6wYJJVXVIDz7gGwj2I57k6OeVMzegW+mAuXYfckwDokO23CBlqKoWJonPV5kdQzMAaKROzW+oZtnK0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JQojkVuXh9xc+DH4BrBpf310SpzIVatPwUa8s6NzctE=; b=m9IU/Wbya/cEWyLWVj7jIgRIlL7vye0dsVIuDzIv3X+XgNat2xPoLZg+3bXLzT50XRK2idETlPZwfbe35KNXuG4FWAcOyuR4kEcNgQxqVgdQFRqkfUEdRvxq5HHGWvsvXYYlbMw2wqCT+Fyr7OmZZxR2rDFR5h7dO1YbSd4m9q1vdqLvRrlGO/Ake5YpxEIeueGWvyohApByfLjZy3jFI0Ci0UnWP/s46FnT3macncD/3i93jVGgslswiQz+8hEKMMIvwtjPMcTdlugj4yD+uLYdCMztKl6S2yVRdy90tel5QBBLLU2z4C3gxmyYWVGu79FoKr+rlYVQax/CQMItNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JQojkVuXh9xc+DH4BrBpf310SpzIVatPwUa8s6NzctE=; b=aSCfc5XcrIrphejo6rBBmmavp9A2oWzgEYpQBYicIjAgkSBAy3O5wlxlT5iXj5qsuwN6oAfswN1vUVJU5M67BsM5MxITNfKLCNcwlt/oJNdYL9QHT0A894BXFietXf5oQEcNiU1cvCAk8x6enaU4SDn2e0HqkJP//aGk72mPFpE= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2861.namprd11.prod.outlook.com (52.135.96.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13; Mon, 13 Jan 2020 11:08:59 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2623.015; Mon, 13 Jan 2020 11:08:59 +0000 From: "Ananyev, Konstantin" To: "Di, ChenxuX" , "dev@dpdk.org" CC: "Yang, Qiming" , "Di, ChenxuX" Thread-Topic: [dpdk-dev] [PATCH v9 4/4] net/e1000: cleanup Tx buffers Thread-Index: AQHVyfgPGRtLT0rLWE2F0Msa0JceGqfob69w Date: Mon, 13 Jan 2020 11:08:59 +0000 Message-ID: References: <20191203055134.72874-1-chenxux.di@intel.com> <20200113095708.67598-1-chenxux.di@intel.com> <20200113095708.67598-5-chenxux.di@intel.com> In-Reply-To: <20200113095708.67598-5-chenxux.di@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmQ4NTdjNmItYjViYy00ZWFkLTkzODItM2E5MjY0MDZjNTg2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieE1JaFNoNEVScGhCbWxWMW92aUgzXC9cL25XSVJ1aFhXWlVpK0xqZ0dXeFhEcHlZdmIrRHAzaFFHclwvMlRqaFBOOCJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e5df8e7c-e249-450d-861c-08d79818fd69 x-ms-traffictypediagnostic: SN6PR11MB2861: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 028166BF91 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(376002)(346002)(366004)(136003)(39860400002)(199004)(189003)(5660300002)(316002)(71200400001)(110136005)(107886003)(2906002)(8936002)(4744005)(4326008)(478600001)(54906003)(33656002)(55016002)(52536014)(66446008)(66946007)(64756008)(76116006)(86362001)(9686003)(66556008)(8676002)(66476007)(6506007)(81156014)(81166006)(7696005)(186003)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2861; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9C/pj73/+FD0B8XHOnGFnABbZ866sELQl0vpLNj3u4cm84pOndRxy8H2N5RIdtCUvQUjuOPCBUBKSRX6bZY+ZdcbrzZv5MwQ4lt/wtFFcHNyHy8i/c4PktUHkkc0HFYJBBlQOZBkCIhvjZn5lsja44+1Zdn5ZLwyvphuSUlzfTKQx9ldl0RSboh61ttKcl99BmYg6rQcPKL2fmVIz9cD6z9i5xHh5k0aiET8QojAyufIZj2FJy3Ret3iV2LmTX/OXTtld1aFRJzcwqb85QQFYJwXSxo/MRZX5roXR5A5iWtwP4wRzL7XS50tNG2D7Z6BKi84jc/HrbPlgyb2LX202KXUvgQqwCH96uPr3/Oo/PMlKK0beGkpMMEoAZf2xYtNxEiOu2566DLhm8RiF0LPVM0rOTRNtB6vJ4taHrqcnwZXX1HDroOXWbqXv2TLrEiS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e5df8e7c-e249-450d-861c-08d79818fd69 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2020 11:08:59.1884 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: q3TkmR+39TDmF8IL6ly/bYagrJ8CFDCRR3/EnRJ6KRCYn9qZUwNFVfK5B4bPZmLUBmpa1R9++XQtEQ/xcAi1pmiPnbIeEOszx1J5Mxz5k28= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2861 X-OriginatorOrg: intel.com 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" >=20 > Add support to the igb vf for the API rte_eth_tx_done_cleanup > to force free consumed buffers on Tx ring. >=20 > Signed-off-by: Chenxu Di > --- > drivers/net/e1000/igb_ethdev.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethde= v.c > index a3e30dbe5..647d5504f 100644 > --- a/drivers/net/e1000/igb_ethdev.c > +++ b/drivers/net/e1000/igb_ethdev.c > @@ -446,6 +446,7 @@ static const struct eth_dev_ops igbvf_eth_dev_ops =3D= { > .tx_descriptor_status =3D eth_igb_tx_descriptor_status, > .tx_queue_setup =3D eth_igb_tx_queue_setup, > .tx_queue_release =3D eth_igb_tx_queue_release, > + .tx_done_cleanup =3D eth_igb_tx_done_cleanup, > .set_mc_addr_list =3D eth_igb_set_mc_addr_list, > .rxq_info_get =3D igb_rxq_info_get, > .txq_info_get =3D igb_txq_info_get, > -- Acked-by: Konstantin Ananyev > 2.17.1