Reduced test duration for timer_racecond unit test.
This wil help to receive quicker test results.
Signed-off-by: Jananee Parthasarathy
---
test/test/test_timer_racecond.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test/test_timer_racecond.c b/test/test/test_timer_r
CC Robert as per MAINTAINERS list.
>-Original Message-
>From: Parthasarathy, JananeeX M
>Sent: Saturday, September 22, 2018 2:27 PM
>To: dev@dpdk.org
>Cc: Pattan, Reshma ; Parthasarathy, JananeeX M
>
>Subject: [PATCH] test: reduce duration for timer racecond testcase
>
>Reduced test durati
Reduced the test duration of timer_autotest.
The number of iterations was very large to test the timer functionality.
Although the method to identify random timers can be different,
many iterations would be needed for stress or performance test only.
Signed-off-by: Jananee Parthasarathy
---
test
Checksum was always 0 on QAT decompression due to
incorrect use of union variable.
Fixes: 6a7ea14819e9 ("compress/qat: add xform processing")
Cc: sta...@dpdk.org
Signed-off-by: Fiona Trahe
---
drivers/compress/qat/qat_comp.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
Same variable was assigned twice, remove one.
Fixes: 6a7ea14819e9 ("compress/qat: add xform processing")
Cc: sta...@dpdk.org
Signed-off-by: Fiona Trahe
---
drivers/compress/qat/qat_comp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/compress/qat/qat_comp.c b/drivers/compress/qat/q
Some of the tests use a QAT-specific value (2) for
maximum nr of queue pairs to create valid/invalid test cases.
This has accidentally worked ok as default max_qps for all PMDs
is larger. It is incorrect however and would fail if a device
had a max lower than the QAT value.
Instead use the value re
Do not use the typedef version of struct VhostUserMsg. Also unify the
related parameter name.
Signed-off-by: Nikolay Nikolaev
---
lib/librte_vhost/vhost_user.c | 41 +
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/lib/librte_vhost/vhost
vhost: vhost_user.c code cleanup
This patchesries introduce a set of code redesigns in vhost_user.c.
The goal is to unify and simplify vhost-user message handling. The
patches do not intend to introduce any functional changes.
v4 changes:
- use struct VhostUserMsg as the coding style guide sugg
Add new functions to handle the unsupported vhost message types:
- vhost_user_set_vring_err
- vhost_user_set_log_fd
Signed-off-by: Nikolay Nikolaev
---
lib/librte_vhost/vhost_user.c | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/lib/librte_vhost/v
As VhostUserMsg structure is reused to generate the reply, move the
relevant fields update into the respective message handling functions.
Signed-off-by: Nikolay Nikolaev
---
lib/librte_vhost/vhost_user.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --g
Each vhost-user message handling function will return an int result
which is described in the new enum vh_result: error, OK and reply.
All functions will now have two arguments, virtio_net double pointer
and VhostUserMsg pointer.
Signed-off-by: Nikolay Nikolaev
---
lib/librte_vhost/vhost_user.c
Introduce vhost_message_handlers, which maps the message request
type to the message handler. Then replace the switch construct
with a map and call.
Failing vhost_user_set_features is fatal and all processing should
stop immediately and propagate the error to the upper layers. Change
the code acco
12 matches
Mail list logo