| 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 ...
|
| 7a292619 | 24-Sep-2020 |
Rohit Raj <[email protected]> |
bus/dpaa: enhance link status
This patch adds support to get/set link speed, duplex and autoneg mode status from/to PHY. Enhance device capabilities to advertise all supported link speeds according
bus/dpaa: enhance link status
This patch adds support to get/set link speed, duplex and autoneg mode status from/to PHY. Enhance device capabilities to advertise all supported link speeds according to mac type.
Also enables fallback support for get link status API where kernel support is missing.
Signed-off-by: Sachin Saxena <[email protected]> Signed-off-by: Rohit Raj <[email protected]> Acked-by: Nipun Gupta <[email protected]>
show more ...
|
| e4abd4ff | 04-Sep-2020 |
Jun Yang <[email protected]> |
net/dpaa: support virtual storage profile
This patch adds support for Virtual Storage profile (VSP) feature. With VSP support when memory pool is created, the hw buffer pool id i.e. bpid is not allo
net/dpaa: support virtual storage profile
This patch adds support for Virtual Storage profile (VSP) feature. With VSP support when memory pool is created, the hw buffer pool id i.e. bpid is not allocated; the bpid is identified by dpaa flow create API. The memory pool of RX queue is attached to specific BMan pool according to the VSP ID when RX queue is setup. For fmlib based hash queue, VSP base ID is assigned to each queue.
Signed-off-by: Jun Yang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| 133332f0 | 04-Sep-2020 |
Radu Bulie <[email protected]> |
bus/dpaa: support shared MAC
A shared MAC interface is an interface which can be used by both kernel and userspace based on classification configuration It is defined in dts with the compatible stri
bus/dpaa: support shared MAC
A shared MAC interface is an interface which can be used by both kernel and userspace based on classification configuration It is defined in dts with the compatible string "fsl,dpa-ethernet-shared" which bpool will be seeded by the dpdk partition and configured as a netdev by the dpaa Linux eth driver. User space buffers from the bpool will be kmapped by the kernel.
Signed-off-by: Radu Bulie <[email protected]> Signed-off-by: Jun Yang <[email protected]> Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|