| e9fd4b87 | 05-Nov-2020 |
Natanael Copa <[email protected]> |
bus/dpaa: fix build with musl
The header files argp.h and error.h do not exist in musl libc.
Fix build with musl libc by using err(3) instead of the GNU-specific error(3).
We could have used the i
bus/dpaa: fix build with musl
The header files argp.h and error.h do not exist in musl libc.
Fix build with musl libc by using err(3) instead of the GNU-specific error(3).
We could have used the identical errx("...: %s", strerror(ret))` but strerror(3) is not thread-safe and the strerror_r variant has two incompatible versions, one GNU specific and one XSI-compliant. Avoid the mess by letting "err" use the thread-local errno.
This also fixes error message for kzmalloc failures which previously would always have given "Unknown error -1", since that is what strerror(-1) returns. Let "err" use the proper error message from errno which is set by kzalloc.
Fixes: 9d32ef0f5d61 ("bus/dpaa: support creating dynamic HW portal") Fixes: f09ede6c8fd1 ("bus/dpaa: add BMAN driver core") Fixes: 5b22cf744689 ("bus/dpaa: introducing FMan configurations") Fixes: 39f373cf015a ("bus/dpaa: add compatibility and helper macros") Cc: [email protected]
Signed-off-by: Natanael Copa <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| a047154e | 24-Feb-2021 |
Hemant Agrawal <[email protected]> |
bus/dpaa: enhance checks for bus and device detection
1. It is not a error if no network device available. One can only use crypto device 2. Improve logging for failure in detecting the bus
Signed-
bus/dpaa: enhance checks for bus and device detection
1. It is not a error if no network device available. One can only use crypto device 2. Improve logging for failure in detecting the bus
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
| 04bee306 | 24-Feb-2021 |
Nipun Gupta <[email protected]> |
bus/dpaa: support shared MAC interface
DPAA can share an interface on classification criteria with kernel.
This patch enables default kernel driver to be used as a shared MAC interface with DPDK in
bus/dpaa: support shared MAC interface
DPAA can share an interface on classification criteria with kernel.
This patch enables default kernel driver to be used as a shared MAC interface with DPDK interface. (provided that VSP is enabled on that interface.)
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|