dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eal_pci.c: pci_scan_one: fix inaccurate NUMA node error comment
@ 2014-10-30  3:40 Matthew Hall
       [not found] ` <1414640408-10118-1-git-send-email-mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Hall @ 2014-10-30  3:40 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Signed-off-by: Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
---
 lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c
index 5fe3961..ddb0535 100644
--- a/lib/librte_eal/linuxapp/eal/eal_pci.c
+++ b/lib/librte_eal/linuxapp/eal/eal_pci.c
@@ -266,7 +266,7 @@ pci_scan_one(const char *dirname, uint16_t domain, uint8_t bus,
 	snprintf(filename, sizeof(filename), "%s/numa_node",
 		 dirname);
 	if (access(filename, R_OK) != 0) {
-		/* if no NUMA support just set node to 0 */
+		/* if no NUMA support just set node to -1 */
 		dev->numa_node = -1;
 	} else {
 		if (eal_parse_sysfs_value(filename, &tmp) < 0) {
-- 
1.9.1

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

* Re: [PATCH] eal_pci.c: pci_scan_one: fix inaccurate NUMA node error comment
       [not found] ` <1414640408-10118-1-git-send-email-mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
@ 2014-10-30  9:57   ` Bruce Richardson
  2014-11-05 21:52     ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2014-10-30  9:57 UTC (permalink / raw)
  To: Matthew Hall; +Cc: dev-VfR2kkLFssw

On Thu, Oct 30, 2014 at 03:40:08AM +0000, Matthew Hall wrote:
> Signed-off-by: Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>

Acked-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

> ---
>  lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c
> index 5fe3961..ddb0535 100644
> --- a/lib/librte_eal/linuxapp/eal/eal_pci.c
> +++ b/lib/librte_eal/linuxapp/eal/eal_pci.c
> @@ -266,7 +266,7 @@ pci_scan_one(const char *dirname, uint16_t domain, uint8_t bus,
>  	snprintf(filename, sizeof(filename), "%s/numa_node",
>  		 dirname);
>  	if (access(filename, R_OK) != 0) {
> -		/* if no NUMA support just set node to 0 */
> +		/* if no NUMA support just set node to -1 */
>  		dev->numa_node = -1;
>  	} else {
>  		if (eal_parse_sysfs_value(filename, &tmp) < 0) {
> -- 
> 1.9.1
> 

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

* Re: [PATCH] eal_pci.c: pci_scan_one: fix inaccurate NUMA node error comment
  2014-10-30  9:57   ` Bruce Richardson
@ 2014-11-05 21:52     ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-11-05 21:52 UTC (permalink / raw)
  To: Matthew Hall; +Cc: dev-VfR2kkLFssw

> > Signed-off-by: Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
> 
> Acked-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Applied

Thanks
-- 
Thomas

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

end of thread, other threads:[~2014-11-05 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30  3:40 [PATCH] eal_pci.c: pci_scan_one: fix inaccurate NUMA node error comment Matthew Hall
     [not found] ` <1414640408-10118-1-git-send-email-mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-10-30  9:57   ` Bruce Richardson
2014-11-05 21:52     ` Thomas Monjalon

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).