From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 715537CCC for ; Wed, 24 May 2017 15:53:40 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id d127so69201823wmf.0 for ; Wed, 24 May 2017 06:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=p7q0sLQMLmp3Abz5Gox4RWrT6BiJ26G8XuWXyYhBsmY=; b=W7UwBChm65t0vkPs0RXqfjaH37VwgsGc6SuO1B2dUDKA74lMit2OI97LQBID42hJtw kQfLYONhlDZAfyF+CrZOqyidfKHKwhIXY4Gq4DgQzpu4eIj3PPtieSjeV2D9Tmc3+Mw9 sMW61AznV7v+iKMTbWmR/Wp3SJJ3aE4qccrmlAIcnCleKuVrlZhlrNlHxvaaaD7ifHcT WnqNXbRV9zXynQ4/Q7dEibDISXWbVK4ogp+p0jsTfHIhAoRSO66ub3FiRrbQfRl6zQ2P 5hplpARX/LJAYay+nIpzPYHc/hg/8RWSjEkxwOxC5sN8Q5EvTXAq369UHpo/ZPwM18ZQ ifvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=p7q0sLQMLmp3Abz5Gox4RWrT6BiJ26G8XuWXyYhBsmY=; b=BFIXNrVLLFJRpTIJAXtT2svai1+lfGQdMHdh9UwapJ6S1wXzO368WUFkouWX7ZAhDI srN9mMJwyC/gOkhvSzWSu/rRmJMw0dzio8DOi9rQE8N1/qbqWBxvRr+XRZbtJTMenOkV wnh8LIdJtJAUhA4ssbtUDksWfXHC/cEbOY1vA4WJUEAzs2ckmd1tCfsyO0HmyQnOWwQn t60NcbeU4lH7WkVjOxrtr6hi12ALp0CiOrZlvZtowXmaLlFkrALMPL8ULPtAOoV4aYcC XOuTN2ww9w/b1e1rtl5z+vU/1dJP9pt6uPQr9wBUDh9AoQutJszRJg0svjnj5bPZYW0H Q7Cg== X-Gm-Message-State: AODbwcCqkF9TLOXmgUYc5c3bJeG6XCR2tv9vwQU3mD+WfVLmy6uYTC6O 5Q3p5sK/tSIzTucP X-Received: by 10.28.103.214 with SMTP id b205mr6356493wmc.124.1495634020056; Wed, 24 May 2017 06:53:40 -0700 (PDT) Received: from autoinstall.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id g8sm4909584wrg.58.2017.05.24.06.53.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2017 06:53:39 -0700 (PDT) Date: Wed, 24 May 2017 15:53:33 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Adrien Mazarguil Cc: Thomas Monjalon , dev@dpdk.org, Ferruh Yigit , John McNamara , "O'Driscoll, Tim" , "Lu, Wenzhuo" , John Daley , Konstantin Ananyev , Helin Zhang , Andrew Rybchenko , Pascal Mazon Message-ID: <20170524135333.GJ31330@autoinstall.dev.6wind.com> References: <4a269110b5623a0a72e4fe9d2636414de5921473.1492609343.git.adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4a269110b5623a0a72e4fe9d2636414de5921473.1492609343.git.adrien.mazarguil@6wind.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] ethdev: add isolated mode to flow API 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: , X-List-Received-Date: Wed, 24 May 2017 13:53:40 -0000 On Wed, Apr 19, 2017 at 03:45:31PM +0200, Adrien Mazarguil wrote: > Isolated mode can be requested by applications on individual ports to avoid > ingress traffic outside of the flow rules they define. > > Besides making ingress more deterministic, it allows PMDs to safely reuse > resources otherwise assigned to handle the remaining traffic, such as > global RSS configuration settings, VLAN filters, MAC address entries, > legacy filter API rules and so on in order to expand the set of possible > flow rule types. > > To minimize code complexity, PMDs implementing this mode may provide > partial (or even no) support for flow rules when not enabled (e.g. no > priorities, no RSS action). Applications written to use the flow API are > therefore encouraged to enable it. > > Once effective, leaving isolated mode may not be possible depending on PMD > implementation. > > Signed-off-by: Adrien Mazarguil > Cc: Ferruh Yigit > Cc: John McNamara > Cc: "O'Driscoll, Tim" > Cc: "Lu, Wenzhuo" > Cc: John Daley > Cc: Konstantin Ananyev > Cc: Helin Zhang > Cc: Nelio Laranjeiro > Cc: Andrew Rybchenko > Cc: Pascal Mazon Acked-by: Nelio Laranjeiro By the way I have implemented it for mlx5 driver [1], your patch needs to be updated on master-net, is does not apply like this. Thanks, [1] http://dpdk.org/dev/patchwork/patch/24487/ -- Nélio Laranjeiro 6WIND