Signed-off-by: Michal Kobylinski
Acked-by: Cristian Dumitrescu
---
v3:
- added the explanation
v2:
- removed changing from file: pipeline_routing_be.h
- changed macro: RTE_TABLE_LPM_MAX_NEXT_HOP
lib/librte_table/rte_table_lpm.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
mport netmap
compatibility example")
Signed-off-by: Michal Kobylinski
---
v2:
- removed braces
- changed return value on -1
examples/netmap_compat/lib/compat_netmap.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/netmap_compat/lib/compat_netmap.c
b/examples/netmap_
mport netmap compatibility
example")
Signed-off-by: Michal Kobylinski
---
examples/netmap_compat/lib/compat_netmap.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/examples/netmap_compat/lib/compat_netmap.c
b/examples/netmap_compat/lib/compat_netmap.c
index bf1b418..8cb5
as the return value of
the function
Fixes: 3097de6e6bfb ("mem: get physical address of any pointer")
Signed-off-by: Michal Kobylinski
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memor
, with the overflowed
value used as an argument to a function
Fixes: eaafbad419bf ("cfgfile: library to interpret config files")
Signed-off-by: Michal Kobylinski
---
lib/librte_cfgfile/rte_cfgfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_cfgfile/rte_cfgfi
CID 13323:
Uninitialized scalar variable. Using uninitialized value
cfg->num_sections when calling rte_cfgfile_close.
Fixes: eaafbad419bf ("cfgfile: library to interpret config files")
Signed-off-by: Michal Kobylinski
---
lib/librte_cfgfile/rte_cfgfile.c | 1 +
1 file changed
Signed-off-by: Michal Kobylinski
Acked-by: David Hunt
---
examples/ip_fragmentation/main.c| 7 ++-
examples/ip_reassembly/main.c | 7 ++-
examples/l3fwd-power/main.c | 10 --
examples/l3fwd-vf/main.c
Signed-off-by: Michal Kobylinski
Acked-by: David Hunt
---
app/test/test_func_reentrancy.c| 9 +-
app/test/test_lpm.c| 145 +++--
app/test/test_mp_secondary.c | 7 +-
app/test/test_table_combined.c | 2 +
app/test
A new rte_lpm_config structure is used so LPM library will allocate
exactly the amount of memory which is necessary to hold application?s
rules.
Michal Kobylinski (2):
lpm: added a new rte_lpm_config structure for ipv4
examples: update to use new rte_lpm_config structure for ipv4
app/test
Signed-off-by: Michal Kobylinski
Acked-by: David Hunt
---
examples/ip_fragmentation/main.c| 16 ++--
examples/ip_reassembly/main.c | 15 +--
examples/l3fwd-power/main.c | 2 +-
examples/l3fwd-vf/main.c
Signed-off-by: Michal Kobylinski
Acked-by: David Hunt
---
app/test/test_lpm.c| 122 ++--
doc/guides/rel_notes/release_16_04.rst |5 +-
lib/librte_lpm/Makefile|2 +-
lib/librte_lpm/rte_lpm.c | 1090 +---
lib
This patchset extended next_hop field from 8-bits to 24-bits in LPM library for
IPv4.
Added versioning symbols to functions and updated
library and applications that have a dependency on LPM library.
Michal Kobylinski (2):
lpm: extend ip4 next_hop and add config structure
examples: update
Update other applications to use new structures from LPM library for IPv4.
Signed-off-by: Michal Kobylinski
---
examples/ip_fragmentation/main.c| 23 ++-
examples/ip_reassembly/main.c | 22 +++
examples/l3fwd-power/main.c
and rte_lpm_tbl8_entry to one structure
rte_lpm_tbl_entry.
Signed-off-by: Michal Kobylinski
---
app/test/test_func_reentrancy.c |9 +-
app/test/test_lpm.c | 274 +---
app/test/test_mp_secondary.c |7 +-
app/test/test_table_combined.c |1 +
app/test
rules.
Changed structures in LPM library:
rte_lpm_tbl24_entry and rte_lpm_tbl8_entry to one structure rte_lpm_tbl_entry.
Added versioning symbols to functions and updated
library and applications that have a dependency on LPM library.
Michal Kobylinski (2):
lpm: extend ip4 next_hop and add
/write operations.
Signed-off-by: Michal Kobylinski
---
app/test/test_lpm.c | 75 +
lib/librte_lpm/rte_lpm.c | 51 ++--
lib/librte_lpm/rte_lpm.h | 168 --
lib/librte_table/rte_table_lpm.c |6 +-
4 files change
16 matches
Mail list logo