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 01E32A053A; Tue, 4 Aug 2020 11:23:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CF251BFFA; Tue, 4 Aug 2020 11:23:04 +0200 (CEST) Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by dpdk.org (Postfix) with ESMTP id 1BC04255 for ; Tue, 4 Aug 2020 11:23:02 +0200 (CEST) Received: by mail-il1-f195.google.com with SMTP id z17so18472893ill.6 for ; Tue, 04 Aug 2020 02:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3s5MSkywDtLce0Cq92+h1rkyScWGySK02tgDfkKPWR4=; b=cYxRrMllUCFLz1IW+aXKvZfqxDFzB/ZE7S2wVb/VRuinDBYBZtlxP4T7u3Yjcy+m5i n5xob2SwW4sgO/mpkDOc7wF0KIqWsPXaBcvyR21APx2IOY24XusWgB+XALZSfb5tF5Wz NsQGqctzOSY3vQFZgS00U4GlM3FPdsqYLpdfTx/n1LDi2YD1rIY4BI5GHh3z3zsjfK3z AXAIIR3sA8CgPe+b+gkqJY5VeZOiVxttDt6CNGDRqdLzXFeb2FsTI82HQEjZ/hsu8cvL 3PYt4bIvUOFeTyQg5CBXYJNVc0vOMd9AYR7aWqhcwzTVMfl0wxehRvzMLJA+DLpWmjeq K8Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3s5MSkywDtLce0Cq92+h1rkyScWGySK02tgDfkKPWR4=; b=gfBrdVO94hiEDAKkAGOmQw1ZIQHMTjHnw5/i9e4PIbbd21deYevQeMcK2uGFTKv4FF TjbgRczAQ/UH6D360QPFaJKUuLPG76SI0T87hXxU4r0KL/J8lkP5ZFWEJMV4JDnDEhTr uuQYVJJrD8XbX4AEUkTnfp1SYDeivFyEdrBGaKMC8XazMZp3tgnFFDRGAwH/fiN1Qcph ZIl5/0he90sSpCav5OA4wEvScwbBjw9lwo9THo9Sxmr3bbkpUizPjUV0dg7SGuSybrq1 KCDMBIjr8GnxbISaX5Br8+FZ8nQj8ElwqVWUaGStkMBJHXElaendYUnpOICCS6pp7D67 n1xA== X-Gm-Message-State: AOAM5332pAXiL42qMmY4YtAymFnGYakO/6vDcDR6IeFEgYJp1vJgq1SU utByhTmiEhrGXQ92ct1K8E5LD4BxLIRllaUz+do01Rq50PdUeg== X-Google-Smtp-Source: ABdhPJysTx/izu9iR3QCv6of+CLvxhJJXvNooDkPKl7pKdxW/yBjXyJgfK+ASnBKLQ3Vz+K8HBakbooIoiF9eS485GI= X-Received: by 2002:a92:6a07:: with SMTP id f7mr3882922ilc.271.1596532980747; Tue, 04 Aug 2020 02:23:00 -0700 (PDT) MIME-Version: 1.0 References: <20200804092014.3335076-1-thomas@monjalon.net> In-Reply-To: <20200804092014.3335076-1-thomas@monjalon.net> From: Jerin Jacob Date: Tue, 4 Aug 2020 14:52:44 +0530 Message-ID: To: Thomas Monjalon Cc: dpdk-dev , David Marchand , Jerin Jacob , Andrew Rybchenko , Ferruh Yigit , Stephen Hemminger , Ajit Khaparde , Matan Azrad , "John W. Linville" , Qi Zhang , Shepard Siegel , Igor Russkikh , Rasesh Mody , Chas Williams , Rahul Lakkireddy , Hemant Agrawal , Gagandeep Singh , Gaetan Rivet , Cristian Dumitrescu , "Wiles, Keith" , Beilei Xing , Jingjing Wu , Alfredo Cardigliano , Rosen Xu , Shijith Thotton , Heinrich Kuhn Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] doc: announce ethdev port freeing on close operation 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 Tue, Aug 4, 2020 at 2:50 PM Thomas Monjalon wrote: > > Since DPDK 18.11, some drivers are migrating to a new behaviour, > releasing port resources on close. > The temporary flag RTE_ETH_DEV_CLOSE_REMOVE triggers this new mode > in the migrated drivers. > After 2 years, the flag and the old behaviour will be removed. > Last drivers not migrated will have to complete the switch. > > Signed-off-by: Thomas Monjalon Acked-by: Jerin Jacob > --- > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index ea4cfa7a48..b5e8045d00 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -91,6 +91,12 @@ Deprecation Notices > - ``rte_eth_dev_stop`` > - ``rte_eth_dev_close`` > > +* ethdev: The temporary flag RTE_ETH_DEV_CLOSE_REMOVE will be removed in 20.11. > + As a consequence, the new behaviour introduced in 18.11 will be effective > + for all drivers: generic port resources are freed on close operation. > + Private resources are expected to be released in the ``dev_close`` callback. > + More details in http://inbox.dpdk.org/dev/5248162.j6AOsuQRmx@thomas/ > + > * ethdev: New offload flags ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11. > This will allow application to enable or disable PMDs from updating > ``rte_mbuf::hash::fdir``. > -- > 2.27.0 >