| a95d7054 | 05-Apr-2022 |
David Marchand <[email protected]> |
eal: factorize lcore main loop
All OS implementations provide the same main loop. Introduce helpers (shared for Linux and FreeBSD) to handle synchronisation between main and threads and factorize th
eal: factorize lcore main loop
All OS implementations provide the same main loop. Introduce helpers (shared for Linux and FreeBSD) to handle synchronisation between main and threads and factorize the rest as common code. Thread id are now logged as string in a common format across OS.
Note: - this change also fixes Windows EAL: worker threads cpu affinity was incorrectly reported in log.
- libabigail flags this change as breaking ABI in clang builds: 1 function with some indirect sub-type change:
[C] 'function int rte_eal_remote_launch(int (void*)*, void*, unsigned int)' at eal_common_launch.c:35:1 has some indirect sub-type changes: parameter 1 of type 'int (void*)*' changed: in pointed to type 'function type int (void*)' at rte_launch.h:31:1: entity changed from 'function type int (void*)' to 'typedef lcore_function_t' at rte_launch.h:31:1 type size hasn't changed
This is being investigated on libabigail side. For now, we don't have much choice but to waive reports on this symbol.
Signed-off-by: David Marchand <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|
| 4fd15c6a | 28-Oct-2021 |
Anatoly Burakov <[email protected]> |
vfio: set errno on unsupported OS
Currently, when code is running on FreeBSD or Windows, there is no way to distinguish between a geniune error and a "VFIO is unsupported" error. Fix the dummy imple
vfio: set errno on unsupported OS
Currently, when code is running on FreeBSD or Windows, there is no way to distinguish between a geniune error and a "VFIO is unsupported" error. Fix the dummy implementations to also set the rte_errno flag.
Fixes: 279b581c897d ("vfio: expose functions") Fixes: c564a2a20093 ("vfio: expose clear group function for internal usages") Fixes: 964b2f3bfb07 ("vfio: export some internal functions") Fixes: ea2dc1066870 ("vfio: add multi container support") Cc: [email protected]
Signed-off-by: Anatoly Burakov <[email protected]> Acked-by: Chenbo Xia <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| 90b13ab8 | 22-Oct-2021 |
Harman Kalra <[email protected]> |
alarm: remove direct access to interrupt handle
Removing direct access to interrupt handle structure fields, rather use respective get set APIs for the same. Making changes to all the libraries acce
alarm: remove direct access to interrupt handle
Removing direct access to interrupt handle structure fields, rather use respective get set APIs for the same. Making changes to all the libraries access the interrupt handle fields.
Implementing alarm cleanup routine, where the memory allocated for interrupt instance can be freed.
Signed-off-by: Harman Kalra <[email protected]> Signed-off-by: David Marchand <[email protected]> Tested-by: Raslan Darawsheh <[email protected]>
show more ...
|
| 35965370 | 25-Oct-2021 |
Honnappa Nagarahalli <[email protected]> |
eal: fix memory ordering around lcore task accesses
Ensure that the memory operations before the call to rte_eal_remote_launch are visible to the worker thread. Use the function pointer to execute i
eal: fix memory ordering around lcore task accesses
Ensure that the memory operations before the call to rte_eal_remote_launch are visible to the worker thread. Use the function pointer to execute in worker thread as the guard variable.
Ensure that the memory operations in worker thread, that happen before it returns the status of the assigned function, are visible to the main thread. Use the variable containing the lcore's state as the guard variable.
Signed-off-by: Honnappa Nagarahalli <[email protected]> Reviewed-by: Ola Liljedahl <[email protected]> Reviewed-by: Feifei Wang <[email protected]>
show more ...
|
| e89463a3 | 14-Oct-2021 |
Bruce Richardson <[email protected]> |
eal: limit telemetry to primary processes
Telemetry interface should be exposed for primary processes only, since secondary processes will conflict on socket creation, and since all data in secondar
eal: limit telemetry to primary processes
Telemetry interface should be exposed for primary processes only, since secondary processes will conflict on socket creation, and since all data in secondary process is generally available to primary. For example, all device stats for ethdevs, cryptodevs, etc. will all be common across processes.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Ciara Power <[email protected]> Tested-by: Conor Walsh <[email protected]>
show more ...
|