This patch reduce the number of total operations from 1M to 10K, because
test is taking too long time now.
Fixes: ffbe3be0d4b5 ("app/test: add libcrypto")
Signed-off-by: Marcin Kerlin
---
app/test/test_cryptodev_perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
. This allows to have a up-to-date list of devices
data and run again secondary application with the same name.
Signed-off-by: Marcin Kerlin
---
app/test-pmd/testpmd.c | 36 ++--
app/test-pmd/testpmd.h | 1 +
2 files changed, 35 insertions(+), 2 deletions(-)
diff
Added prevention not overwrite device data in array rte_eth_dev_data[].
Secondary process appends in the first free place rather than at the
beginning. This behavior prevents overwriting devices of primary process
by secondary process.
Signed-off-by: Marcin Kerlin
---
lib/librte_ether
, if it is possible.
Marcin Kerlin (2):
librte_ether: ensure not overwrite device data in mp app
app/testpmd: improve handling of multiprocess
app/test-pmd/testpmd.c | 36 +-
app/test-pmd/testpmd.h | 1 +
lib/librte_ether/rte_ethdev.c | 90
processes. This allows to have a up-to-date
list of devices and run again secondary application with the same name.
Signed-off-by: Marcin Kerlin
---
app/test-pmd/testpmd.c | 30 --
app/test-pmd/testpmd.h | 1 +
2 files changed, 29 insertions(+), 2 deletions(-)
diff
rte_eth_dev_data[] and rte_eth_devices[] are shifted relative to each other
and it required the addition new functions to search separately data.
Signed-off-by: Marcin Kerlin
---
lib/librte_ether/rte_ethdev.c | 87 ++
lib/librte_ether/rte_ethdev.h
app.
2)Changes in application testpmd allow secondary process to attach the mempool
created by primary process rather than create new and in the case of quit or
force quit to free devices of this process from shared array rte_eth_dev_data[].
Marcin Kerlin (2):
lib/librte_ether: ensure
3303
Fixes: af75078fece3 ("first public release")
Signed-off-by: Marcin Kerlin
Acked-by: Sergio Gonzalez Monroy
---
v5:
-shift the history of changes
v4:
-removed keyword const from pointer and dependent on that casting (void *)
v3:
-removed redundant casting
-removed update error message
om pointer and dependent on that casting (void *)
v3:
1)removed redundant casting
2)removed update error message
v2:
1)unmapping also previous addresses
Coverity issue: 13295, 13296, 13303
Fixes: af75078fece3 ("first public release")
Signed-off-by: Marcin Kerlin
---
lib/librte_eal/linuxapp/e
Minor typo fix to error message
Fixes: 148f963fb532 ("xen: core library changes")
Signed-off-by: Marcin Kerlin
---
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_memory.c
b/lib/librte_ea
ved update error message
V2:
1)unmapping also previous addresses
Coverity issue: 13295, 13296, 13303
Fixes: af75078fece3 ("first public release")
Signed-off-by: Marcin Kerlin
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(
Return value of function get_device() is not checking before
dereference. Fix this problem by adding checking condition.
Coverity issue: 119262
Fixes: 77d20126b4c2 ("vhost-user: handle message to enable vring")
Signed-off-by: Marcin Kerlin
---
lib/librte_vhost/vhost_user/virtio-net-
Return value of function app_pipeline_type_find is not checking before
dereference. Fix this problem by adding checking condition.
Coverity issue: 127196
Fixes: b4aee0fb9c6d ("examples/ip_pipeline: reconfigure thread binding
dynamically")
Signed-off-by: Marcin Kerlin
---
examples/i
Unchecked return value: value returned from a function rdline_init is
not checked, fix added checking return value and in the case of failure
frees memory and return null pointer.
Fixes: af75078fece3 ("first public release")
Coverity ID 13204
Signed-off-by: Marcin Kerlin
ublic release")
Signed-off-by: Marcin Kerlin
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c
b/lib/librte_eal/linuxapp/eal/eal_memory.c
index 5b9132c..6320aa0 100644
Fix issue reported by Coverity.
Coverity ID 13207:
Value returned from a function is not checked for errors before being
used.
Fixes: 07db4a975094 ("examples/distributor: new sample app")
Signed-off-by: Marcin Kerlin
---
examples/distributor/main.c | 17 +
1 file c
CID 124567:
In the function app_init_eal(struct app params * app) number of
entries into array exceeds the size of the array if the conditions
are fulfilled.
Fixes: 7f64b9c004aa ("examples/ip_pipeline: rework config file syntax")
Signed-off-by: Marcin Kerlin
---
examples/ip_pipe
v2:
added fixline
CID 120150:
Wrong size of the allocated memory. Passing argument as size of pointer
(8UL) instead of size of structure app_pipeline_firewall_rule.
Fixes: 67ebdbef0c31 ("examples/ip_pipeline: add bulk update of firewall rules")
Signed-off-by: Marcin Kerlin
---
CID 120150:
Wrong size of the allocated memory. Passing argument as size of pointer
(8UL) instead of size of structure app_pipeline_firewall_rule.
Signed-off-by: Marcin Kerlin
---
examples/ip_pipeline/pipeline/pipeline_firewall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
ved redundant field
v3:
* added an example of using
Signed-off-by: Marcin Kerlin
---
examples/l2fwd-jobstats/main.c | 9 -
lib/librte_jobstats/rte_jobstats.c | 20
lib/librte_jobstats/rte_jobstats.h | 14 ++
receiving n>0 packets.
v2:
* removed redundant field
Signed-off-by: Marcin Kerlin
---
lib/librte_jobstats/rte_jobstats.c | 20
lib/librte_jobstats/rte_jobstats.h | 14 ++
lib/librte_jobstats/rte_jobstats_version.map | 7 +++
3 files chan
receiving n>0 packets.
Signed-off-by: Marcin Kerlin
---
lib/librte_jobstats/rte_jobstats.c | 22 ++
lib/librte_jobstats/rte_jobstats.h | 17 +
lib/librte_jobstats/rte_jobstats_version.map | 7 +++
3 files changed, 46 insertions(+)
d
The LIBABIVER number is incremented for table and pipeline libraries.
The release notes is updated and the deprecation announce is removed.
Signed-off-by: Maciej Gajdzica
Acked-by: Cristian Dumitrescu
---
doc/guides/rel_notes/deprecation.rst | 3 ---
Added two new cli commands to firewall pipeline. Commands bulk add and
bulk delete takes as argument a file with rules to add/delete. The file
is parsed, and then rules are passed to backend functions which
add/delete records from pipeline tables.
Signed-off-by: Maciej Gajdzica
Acked-by:
Added to acl table unit test check for bulk add and bulk delete.
Signed-off-by: Maciej Gajdzica
Acked-by: Cristian Dumitrescu
---
app/test/test_table_acl.c | 166 ++
1 file changed, 166 insertions(+)
diff --git a/app/test/test_table_acl.c
Added functions for adding/deleting multiple records to table owned by
pipeline.
Signed-off-by: Maciej Gajdzica
Signed-off-by: Marcin Kerlin
Acked-by: Cristian Dumitrescu
---
lib/librte_pipeline/rte_pipeline.c | 106 +
lib/librte_pipeline/rte_pipeline.h
New functions prototypes for bulk add/delete added to table API. New
functions allows adding/deleting multiple records with single function
call. For now those functions are implemented only for ACL table. For
other tables these function pointers are set to NULL.
Signed-off-by: Maciej Gajdzica
27 matches
Mail list logo