add Jingjing Wu and Wei Dai as new maintainers
of test-pmd.
Signed-off-by: Wei Dai
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index d6bb8f8..8070ed6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -614,7 +614,8 @@ F: app/test
In function pci_mknod_uio_dev() in lib/librte_eal/eal/eal_pci_uio.c,
The return value of mknod() is ret, not f got by fopen().
So the value of ret should be checked for mknod().
Fixes: f7f97c16048e ("pci: add option --create-uio-dev to run without hotplug")
Signed-off-by: Wei D
In function pci_mknod_uio_dev() in lib/librte_eal/eal/eal_pci_uio.c,
The return value of mknod() is ret, not f got by fopen().
So the value of ret should be checked for mknod().
Fixes: 67c536bdad93 ("pci: move uio mapping in a dedicated file")
Signed-off-by: Wei Dai
---
fix my local g
re for IPv4")
Signed-off-by: Morten Br?rup
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index ec67765..8c15c4c 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_lpm.c
paddr[i] + pg_sz always points to the start physical address of the
2nd page after pddr[i], so only up to 2 pages can be combinded to
be used. With this revision, more than 2 pages can be used.
Fixes: 84121f197187 ("mempool: store memory chunks in a list")
Signed-off-by: Wei Dai
Add comments to describe that not all statistics fields in
struct rte_eth_stats are supported by any type of network
interface card. If any statistics field is not supported,
its value is 0.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Wei Dai
---
lib/librte_ether/rt
epth > 24.
Signed-off-by: Wei Dai
Acked-by: Bruce Richardson
---
lib/librte_lpm/rte_lpm.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 24fec4b..ec67765 100644
--- a/lib/librte_lpm/rte_lpm
As a bug-fix for lpm tlb8 recycle is introduced,
add a test case to verify tlb8 group is correctly
freed when it only includes a rule with depth=24.
Signed-off-by: Wei Dai
Acked-by: Bruce Richardson
---
app/test/test_lpm.c | 80 -
1 file
When all rules with depth > 24 are deleted in a same sub-table
(tlb8 group) and only a rule with depth <=24 is left in it,
this sub-table (tlb8 group) should be recycled.
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Fixes: af75078fece3 ("first public release"
epth > 24.
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 24fec4b..ec67765 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_lpm.
As a bug-fix for lpm tlb8 recycle is introduced,
add a test case to verify tlb8 group is correctly
freed when it only includes a rule with depth=24.
Signed-off-by: Wei Dai
---
app/test/test_lpm.c | 80 -
1 file changed, 79 insertions(+), 1
When all rules with depth > 24 are deleted in a same sub-table
(tlb8 group) and only a rule with depth <=24 is left in it,
this sub-table (tlb8 group) should be recycled.
Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field")
Fixes: af75078fece3 ("first public release"
24.
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 24fec4b..ec67765 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_lpm.c
@@ -93
24.
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 24fec4b..5bdc23f 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_lpm.c
@@ -107
As a bug-fix for lpm tlb8 recycle is introduced,
add a test case to verify tlb8 group is correctly
freed when it only includes a rule with depth=24.
Signed-off-by: Wei Dai
---
app/test/test_lpm.c | 81 -
1 file changed, 80 insertions(+), 1
When all rules with depth > 24 are deleted in a same tlb8 group
and only leave a rule with depth <= 24 in this group, the tlb8
group should be recycled.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Wei Dai
---
lib/librte_lpm/rte_lpm.c | 4 ++--
1 file changed, 2
nment")
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal/common/eal_common_options.c
index 1a1bab3..f443a61 100644
--- a/lib/librte_eal/common/eal_common_optio
cores for cpu assignment")
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal/common/eal_common_options.c
index 217d08b..1a1bab3 100644
--- a/lib/librte_
cores for cpu assignment")
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal/common/eal_common_options.c
index c5bf98c..217d08b 100644
local variable i is not referred by other codes in
the function eal_parse_lcores( ), so it can be removed.
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 4
1 file changed, 4 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal
cores for cpu assignment")
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal/common/eal_common_options.c
index c5bf98c..217d08b 100644
local variable i is not referred by other codes in
the function eal_parse_lcores( ), so it can be removed.
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 4
1 file changed, 4 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_options.c
b/lib/librte_eal
The '-' in lcores set overrides cpu set of following
lcore set in the argument of EAL option --lcores.
Fixes: 53e54bf81700 ("eal: new option --lcores for cpu assignment")
Signed-off-by: Wei Dai
---
lib/librte_eal/common/eal_common_options.c | 12
1 file changed, 12
23 matches
Mail list logo