History log of /dpdk/app/test-mldev/test_common.c (Results 1 – 6 of 6)
Revision Date Author Comments
# 7c4da162 30-Aug-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: fix multiple queue pairs test

Updated device_ops test to configure the device with
user specific arguments. Fix handling unsupported
values for queue_pairs and queue_size

Fixes: c0e87165

app/mldev: fix multiple queue pairs test

Updated device_ops test to configure the device with
user specific arguments. Fix handling unsupported
values for queue_pairs and queue_size

Fixes: c0e871657d6a ("app/mldev: support queue pairs and size")
Cc: stable@dpdk.org

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Acked-by: Anup Prabhu <aprabhu@marvell.com>
Acked-by: Shivah Shankar S <sshankarnara@marvell.com>

show more ...


# 854f380f 20-Sep-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: fix file and buffer freeing

Addressed issues reported by klocwork static analysis tool.

Fixes: fccf444cfe05 ("app/mldev: add function for file read")
Cc: stable@dpdk.org

Signed-off-by:

app/mldev: fix file and buffer freeing

Addressed issues reported by klocwork static analysis tool.

Fixes: fccf444cfe05 ("app/mldev: add function for file read")
Cc: stable@dpdk.org

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Acked-by: Anup Prabhu <aprabhu@marvell.com>
Acked-by: Shivah Shankar S <sshankarnara@marvell.com>

show more ...


# 28a4a819 12-Jun-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: improve checks for invalid options

Improve checks for ML application options. Check for negative,
non-integral and hexadecimal values. Check for number of entries
in filelist option. Impr

app/mldev: improve checks for invalid options

Improve checks for ML application options. Check for negative,
non-integral and hexadecimal values. Check for number of entries
in filelist option. Improve error reporting for invalid options.

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>

show more ...


# fccf444c 07-Jun-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: add function for file read

Added internal function to read model, input and reference
files with required error checks. This change fixes the
unchecked return value and improper use of ne

app/mldev: add function for file read

Added internal function to read model, input and reference
files with required error checks. This change fixes the
unchecked return value and improper use of negative value
issues reported by coverity scan for file read operations.

Coverity issue: 383742, 383743
Fixes: f6661e6d9a3a ("app/mldev: validate model operations")
Fixes: da6793390596 ("app/mldev: support inference validation")
Cc: stable@dpdk.org

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>

show more ...


# c0e87165 16-Mar-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: support queue pairs and size

Added support to create multiple queue-pairs per device to
enqueue and dequeue inference requests. Number of queue pairs
to be created can be specified throug

app/mldev: support queue pairs and size

Added support to create multiple queue-pairs per device to
enqueue and dequeue inference requests. Number of queue pairs
to be created can be specified through "--queue_pairs" option.
Support is also enabled to control the number of descriptors
per each queue pair through "--queue_size" option. Inference
requests for a model are distributed across all available
queue-pairs.

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Acked-by: Anup Prabhu <aprabhu@marvell.com>

show more ...


# 29369778 16-Mar-2023 Srikanth Yalavarthi <syalavarthi@marvell.com>

app/mldev: add common test functions

Added common functions used by all tests. Common code
includes functions to check capabilities, options, and
handle ML devices.

Signed-off-by: Srikanth Yalavart

app/mldev: add common test functions

Added common functions used by all tests. Common code
includes functions to check capabilities, options, and
handle ML devices.

Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com>
Acked-by: Anup Prabhu <aprabhu@marvell.com>

show more ...