From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 4/4] net/failsafe: fix removed device handling Date: Wed, 13 Dec 2017 18:09:21 +0100 Message-ID: <302650745.DN0YeEHu4l@xps> References: <1509637324-13525-1-git-send-email-matan@mellanox.com> <20171213160916.e3rmxmhfhqz72wco@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Adrien Mazarguil , dev@dpdk.org, stable@dpdk.org To: =?ISO-8859-1?Q?Ga=EBtan?= Rivet , Matan Azrad Return-path: In-Reply-To: <20171213160916.e3rmxmhfhqz72wco@bidouze.vm.6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/12/2017 17:09, Ga=EBtan Rivet: > On Wed, Dec 13, 2017 at 03:48:46PM +0000, Matan Azrad wrote: > > From: Ga=EBtan Rivet [mailto:gaetan.rivet@6wind.com] > > > > Fixes: a46f8d5 ("net/failsafe: add fail-safe PMD") > > > > Fixes: b737a1e ("net/failsafe: support flow API") > > > > Cc: stable@dpdk.org > > > > > > >=20 > > > This patch is not a fix. > > > It relies on an eth_dev API evolution. Without this evolution, this p= atch is > > > meaningless and would break compilation if backported in stable branc= h. > > >=20 > >=20 > > It is a fix because the bug is finally solved by this patch. > > I agree that it cannot be backported itself, but maybe all the series s= hould be backported. > > Other idea: > > Add new patch which documents the bug and backport it. > > Remove it in this patch and remove cc stable from it. > > What do you think? > >=20 >=20 > I think you could write a crude version that would not rely on the > ethdev evolution (checking sdev->remove only), which would be incomplete > but still better than nothing. > And why not in this patch document the issue. > Without any dependency outside failsafe, this could be backported. >=20 > Then complete the fix with the API evolution if the new devops is > accepted. I think it is not worth the effort. It is a limitation in earlier releases and will be properly fixed with the new op. Please just remove the Cc:stable@dpdk.org.