|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
06c047b6 |
| 09-Feb-2022 |
Stephen Hemminger <[email protected]> |
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free functions found by nullfree.cocci
Signed-off-by: Stephen Hemminger <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2 |
|
| #
b9701282 |
| 22-Apr-2021 |
Min Hu (Connor) <[email protected]> |
raw/skeleton: add missing check after setting attribute
This patch adds return value check for setting an attribute.
Fixes: 88a81bcecb7b ("raw/skeleton: remove compile-time constant for device id")
raw/skeleton: add missing check after setting attribute
This patch adds return value check for setting an attribute.
Fixes: 88a81bcecb7b ("raw/skeleton: remove compile-time constant for device id") Cc: [email protected]
Signed-off-by: Min Hu (Connor) <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
22b5c63e |
| 21-Sep-2020 |
Lukasz Wojciechowski <[email protected]> |
raw/skeleton: reset test statistics
Statistics: passed, failed, unsupported and total are kept in global static variables. As global variables they are initiated with zeroes. However running test mu
raw/skeleton: reset test statistics
Statistics: passed, failed, unsupported and total are kept in global static variables. As global variables they are initiated with zeroes. However running test multiple times cumulates results from previous calls.
This patch resets statistics with zeroes in testsuite_setup().
To reproduce issue fixed by this patch, run rawdev_autotest command in dpdk-test app multiple times.
Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases") Cc: [email protected]
Signed-off-by: Lukasz Wojciechowski <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
f574ed81 |
| 10-Sep-2020 |
Bruce Richardson <[email protected]> |
rawdev: add private data size to queue config inputs
The queue setup and queue defaults query functions take a void * parameter as configuration data, preventing any compile-time checking of the par
rawdev: add private data size to queue config inputs
The queue setup and queue defaults query functions take a void * parameter as configuration data, preventing any compile-time checking of the parameters and limiting runtime checks. Adding in the length of the expected structure provides a measure of typechecking, and can also be used for ABI compatibility in future, since ABI changes involving structs almost always involve a change in size.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Nipun Gupta <[email protected]>
show more ...
|
| #
8db9dce7 |
| 10-Sep-2020 |
Bruce Richardson <[email protected]> |
rawdev: add private data size to config inputs
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the structure passed to configure AP
rawdev: add private data size to config inputs
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the structure passed to configure API is of the correct type - it's just checked that it is non-NULL. Adding in the length of the expected structure provides a measure of typechecking, and can also be used for ABI compatibility in future, since ABI changes involving structs almost always involve a change in size.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Rosen Xu <[email protected]> Acked-by: Nipun Gupta <[email protected]>
show more ...
|
| #
10b71cae |
| 10-Sep-2020 |
Bruce Richardson <[email protected]> |
rawdev: add private data size to info query
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the dev_info structure is of the correc
rawdev: add private data size to info query
Currently with the rawdev API there is no way to check that the structure passed in via the dev_private pointer in the dev_info structure is of the correct type - it's just checked that it is non-NULL. Adding in the length of the expected structure provides a measure of typechecking, and can also be used for ABI compatibility in future, since ABI changes involving structs almost always involve a change in size.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Rosen Xu <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Nipun Gupta <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
473c88f9 |
| 05-Jul-2019 |
Bruce Richardson <[email protected]> |
drivers/raw: remove rawdev from directory names
The ifpga and skeleton rawdev drivers included "rawdev" in their directory names, which was superfluous given that they were in the drivers/raw direct
drivers/raw: remove rawdev from directory names
The ifpga and skeleton rawdev drivers included "rawdev" in their directory names, which was superfluous given that they were in the drivers/raw directory. Shorten the names via this patch.
For meson builds, this will rename the final library .so/.a files produced, but those will be renamed again later via a patch to standardize rawdev names.
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|