DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] nfp: restore the unlink operation
@ 2018-05-14 14:46 Aaron Conole
  2018-05-14 15:09 ` Eelco Chaudron
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Aaron Conole @ 2018-05-14 14:46 UTC (permalink / raw)
  To: stable; +Cc: Alejandro Lucero, Luca Boccassi, Eelco Chaudron, Yuanhan Liu, dev

For the stable versions of DPDK, the NFP driver's NSP user space
driver was modified to account for non-root usage.  When that
happened, commit 515933ad8385 ("nfp: allow for non-root user")
inadvertently removed the unlink() call.

Fixes: 515933ad8385 ("nfp: allow for non-root user")
Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
Cc: Luca Boccassi <bluca@debian.org>
Cc: Eelco Chaudron <echaudro@redhat.com>
Cc: Yuanhan Liu <yliu@fridaylinux.org>
Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 drivers/net/nfp/nfp_nfpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c
index ae2e07220..c003640c7 100644
--- a/drivers/net/nfp/nfp_nfpu.c
+++ b/drivers/net/nfp/nfp_nfpu.c
@@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc)
 	close(desc->lock);
 
 	nspu_get_lockfile_path(lockname, sizeof(lockname), desc);
+	unlink(lockname);
 	return 0;
 }
-- 
2.14.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] nfp: restore the unlink operation
  2018-05-14 14:46 [dpdk-dev] [PATCH] nfp: restore the unlink operation Aaron Conole
@ 2018-05-14 15:09 ` Eelco Chaudron
  2018-05-18  8:45   ` Alejandro Lucero
  2018-05-18  9:48 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
  2018-05-18 13:22 ` [dpdk-dev] " Luca Boccassi
  2 siblings, 1 reply; 7+ messages in thread
From: Eelco Chaudron @ 2018-05-14 15:09 UTC (permalink / raw)
  To: Aaron Conole, stable; +Cc: Alejandro Lucero, Luca Boccassi, Yuanhan Liu, dev

On 14/05/18 16:46, Aaron Conole wrote:
> For the stable versions of DPDK, the NFP driver's NSP user space
> driver was modified to account for non-root usage.  When that
> happened, commit 515933ad8385 ("nfp: allow for non-root user")
> inadvertently removed the unlink() call.

Acked-by: Eelco Chaudron <echaudro@redhat.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] nfp: restore the unlink operation
  2018-05-14 15:09 ` Eelco Chaudron
@ 2018-05-18  8:45   ` Alejandro Lucero
  0 siblings, 0 replies; 7+ messages in thread
From: Alejandro Lucero @ 2018-05-18  8:45 UTC (permalink / raw)
  To: Eelco Chaudron, Ferruh Yigit
  Cc: Aaron Conole, stable, Luca Boccassi, Yuanhan Liu, dev

Acked-by: Alejandro Lucero <alejandro.lucero@netronome.com>

On Mon, May 14, 2018 at 4:09 PM, Eelco Chaudron <echaudro@redhat.com> wrote:

> On 14/05/18 16:46, Aaron Conole wrote:
>
>> For the stable versions of DPDK, the NFP driver's NSP user space
>> driver was modified to account for non-root usage.  When that
>> happened, commit 515933ad8385 ("nfp: allow for non-root user")
>> inadvertently removed the unlink() call.
>>
>
> Acked-by: Eelco Chaudron <echaudro@redhat.com>
>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] nfp: restore the unlink operation
  2018-05-14 14:46 [dpdk-dev] [PATCH] nfp: restore the unlink operation Aaron Conole
  2018-05-14 15:09 ` Eelco Chaudron
@ 2018-05-18  9:48 ` Ferruh Yigit
  2018-05-18 13:11   ` Aaron Conole
  2018-05-18 13:22 ` [dpdk-dev] " Luca Boccassi
  2 siblings, 1 reply; 7+ messages in thread
From: Ferruh Yigit @ 2018-05-18  9:48 UTC (permalink / raw)
  To: Aaron Conole, stable
  Cc: Alejandro Lucero, Luca Boccassi, Eelco Chaudron, Yuanhan Liu, dev

On 5/14/2018 3:46 PM, Aaron Conole wrote:
> For the stable versions of DPDK, the NFP driver's NSP user space
> driver was modified to account for non-root usage.  When that
> happened, commit 515933ad8385 ("nfp: allow for non-root user")
> inadvertently removed the unlink() call.

This patch is for stable tree.

Which stable branches are effected? Only 18.02?


And a generic stable tree question, is there a easy way to find out which stable
versions has a fix? For this example which versions get "nfp: allow for non-root
user" fix?

> 
> Fixes: 515933ad8385 ("nfp: allow for non-root user")
> Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
> Cc: Luca Boccassi <bluca@debian.org>
> Cc: Eelco Chaudron <echaudro@redhat.com>
> Cc: Yuanhan Liu <yliu@fridaylinux.org>
> Signed-off-by: Aaron Conole <aconole@redhat.com>
> ---
>  drivers/net/nfp/nfp_nfpu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c
> index ae2e07220..c003640c7 100644
> --- a/drivers/net/nfp/nfp_nfpu.c
> +++ b/drivers/net/nfp/nfp_nfpu.c
> @@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc)
>  	close(desc->lock);
>  
>  	nspu_get_lockfile_path(lockname, sizeof(lockname), desc);
> +	unlink(lockname);
>  	return 0;
>  }
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] nfp: restore the unlink operation
  2018-05-18  9:48 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
@ 2018-05-18 13:11   ` Aaron Conole
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Conole @ 2018-05-18 13:11 UTC (permalink / raw)
  To: Ferruh Yigit
  Cc: stable, Alejandro Lucero, Luca Boccassi, Eelco Chaudron,
	Yuanhan Liu, dev

Ferruh Yigit <ferruh.yigit@intel.com> writes:

> On 5/14/2018 3:46 PM, Aaron Conole wrote:
>> For the stable versions of DPDK, the NFP driver's NSP user space
>> driver was modified to account for non-root usage.  When that
>> happened, commit 515933ad8385 ("nfp: allow for non-root user")
>> inadvertently removed the unlink() call.
>
> This patch is for stable tree.
>
> Which stable branches are effected? Only 18.02?

At this time, just 18.02

>
> And a generic stable tree question, is there a easy way to find out which stable
> versions has a fix? For this example which versions get "nfp: allow for non-root
> user" fix?

I'm not sure if there is something in
http://dpdk.org/browse/tools/stable-scripts/ that might automatically
find the dependency?

>> 
>> Fixes: 515933ad8385 ("nfp: allow for non-root user")
>> Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
>> Cc: Luca Boccassi <bluca@debian.org>
>> Cc: Eelco Chaudron <echaudro@redhat.com>
>> Cc: Yuanhan Liu <yliu@fridaylinux.org>
>> Signed-off-by: Aaron Conole <aconole@redhat.com>
>> ---
>>  drivers/net/nfp/nfp_nfpu.c | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c
>> index ae2e07220..c003640c7 100644
>> --- a/drivers/net/nfp/nfp_nfpu.c
>> +++ b/drivers/net/nfp/nfp_nfpu.c
>> @@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc)
>>  	close(desc->lock);
>>  
>>  	nspu_get_lockfile_path(lockname, sizeof(lockname), desc);
>> +	unlink(lockname);
>>  	return 0;
>>  }
>> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] nfp: restore the unlink operation
  2018-05-14 14:46 [dpdk-dev] [PATCH] nfp: restore the unlink operation Aaron Conole
  2018-05-14 15:09 ` Eelco Chaudron
  2018-05-18  9:48 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
@ 2018-05-18 13:22 ` Luca Boccassi
  2018-05-18 15:57   ` Aaron Conole
  2 siblings, 1 reply; 7+ messages in thread
From: Luca Boccassi @ 2018-05-18 13:22 UTC (permalink / raw)
  To: Aaron Conole, stable; +Cc: Alejandro Lucero, Eelco Chaudron, Yuanhan Liu, dev

On Mon, 2018-05-14 at 10:46 -0400, Aaron Conole wrote:
> For the stable versions of DPDK, the NFP driver's NSP user space
> driver was modified to account for non-root usage.  When that
> happened, commit 515933ad8385 ("nfp: allow for non-root user")
> inadvertently removed the unlink() call.
> 
> Fixes: 515933ad8385 ("nfp: allow for non-root user")
> Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
> Cc: Luca Boccassi <bluca@debian.org>
> Cc: Eelco Chaudron <echaudro@redhat.com>
> Cc: Yuanhan Liu <yliu@fridaylinux.org>
> Signed-off-by: Aaron Conole <aconole@redhat.com>
> ---
>  drivers/net/nfp/nfp_nfpu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c
> index ae2e07220..c003640c7 100644
> --- a/drivers/net/nfp/nfp_nfpu.c
> +++ b/drivers/net/nfp/nfp_nfpu.c
> @@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc)
>  	close(desc->lock);
>  
>  	nspu_get_lockfile_path(lockname, sizeof(lockname), desc);
> +	unlink(lockname);
>  	return 0;
>  }

Applied and pushed to stable/18.02

Next time, please send patches that are only for stable to stable@dpdk.
org and do not include dev@dpdk.org
Also use --subject-prefix='PATCH <branch>' so that we can understand
for which branches a patch is

-- 
Kind regards,
Luca Boccassi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dpdk-dev] [PATCH] nfp: restore the unlink operation
  2018-05-18 13:22 ` [dpdk-dev] " Luca Boccassi
@ 2018-05-18 15:57   ` Aaron Conole
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Conole @ 2018-05-18 15:57 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: stable, Alejandro Lucero, Eelco Chaudron, Yuanhan Liu, dev

Luca Boccassi <bluca@debian.org> writes:

> On Mon, 2018-05-14 at 10:46 -0400, Aaron Conole wrote:
>> For the stable versions of DPDK, the NFP driver's NSP user space
>> driver was modified to account for non-root usage.  When that
>> happened, commit 515933ad8385 ("nfp: allow for non-root user")
>> inadvertently removed the unlink() call.
>> 
>> Fixes: 515933ad8385 ("nfp: allow for non-root user")
>> Cc: Alejandro Lucero <alejandro.lucero@netronome.com>
>> Cc: Luca Boccassi <bluca@debian.org>
>> Cc: Eelco Chaudron <echaudro@redhat.com>
>> Cc: Yuanhan Liu <yliu@fridaylinux.org>
>> Signed-off-by: Aaron Conole <aconole@redhat.com>
>> ---
>>  drivers/net/nfp/nfp_nfpu.c | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/drivers/net/nfp/nfp_nfpu.c b/drivers/net/nfp/nfp_nfpu.c
>> index ae2e07220..c003640c7 100644
>> --- a/drivers/net/nfp/nfp_nfpu.c
>> +++ b/drivers/net/nfp/nfp_nfpu.c
>> @@ -121,5 +121,6 @@ nfpu_close(nfpu_desc_t *desc)
>>  	close(desc->lock);
>>  
>>  	nspu_get_lockfile_path(lockname, sizeof(lockname), desc);
>> +	unlink(lockname);
>>  	return 0;
>>  }
>
> Applied and pushed to stable/18.02

Thanks, Luca!

> Next time, please send patches that are only for stable to stable@dpdk.
> org and do not include dev@dpdk.org

Will do.

> Also use --subject-prefix='PATCH <branch>' so that we can understand
> for which branches a patch is

Thanks.  I'll keep this in mind.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-05-18 15:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 14:46 [dpdk-dev] [PATCH] nfp: restore the unlink operation Aaron Conole
2018-05-14 15:09 ` Eelco Chaudron
2018-05-18  8:45   ` Alejandro Lucero
2018-05-18  9:48 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
2018-05-18 13:11   ` Aaron Conole
2018-05-18 13:22 ` [dpdk-dev] " Luca Boccassi
2018-05-18 15:57   ` Aaron Conole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).