#
ae67895b |
| 08-Dec-2023 |
David Marchand <david.marchand@redhat.com> |
lib: add more logging helpers
Add helpers for logging messages in libraries instead of calling RTE_LOG() directly. Those helpers take care of adding a \n: this will make the transition to RTE_LOG_LI
lib: add more logging helpers
Add helpers for logging messages in libraries instead of calling RTE_LOG() directly. Those helpers take care of adding a \n: this will make the transition to RTE_LOG_LINE trivial.
Note: - for acl and sched libraries that still has some debug multilines messages, a direct call to RTE_LOG is used: this will make it easier to notice such special cases,
Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
#
8cb5d08d |
| 22-Oct-2021 |
Harman Kalra <hkalra@marvell.com> |
interrupts: extend event list
Dynamically allocating the efds and elist array of intr_handle structure, based on size provided by user. Eg size can be MSIX interrupts supported by a PCI device.
Sig
interrupts: extend event list
Dynamically allocating the efds and elist array of intr_handle structure, based on size provided by user. Eg size can be MSIX interrupts supported by a PCI device.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Tested-by: Raslan Darawsheh <rasland@nvidia.com>
show more ...
|
#
99e6c7e3 |
| 22-Oct-2021 |
Harman Kalra <hkalra@marvell.com> |
interrupts: rename device specific file descriptor
VFIO/UIO are mutually exclusive, storing file descriptor in a single field is enough.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Signed-off-
interrupts: rename device specific file descriptor
VFIO/UIO are mutually exclusive, storing file descriptor in a single field is enough.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Tested-by: Raslan Darawsheh <rasland@nvidia.com>
show more ...
|
#
73d844fd |
| 22-Oct-2021 |
Harman Kalra <hkalra@marvell.com> |
interrupts: make interrupt handle structure opaque
Moving interrupt handle structure definition inside a EAL private header to make its fields totally opaque to the outside world.
Signed-off-by: Ha
interrupts: make interrupt handle structure opaque
Moving interrupt handle structure definition inside a EAL private header to make its fields totally opaque to the outside world.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Tested-by: Raslan Darawsheh <rasland@nvidia.com>
show more ...
|
#
b7c98429 |
| 22-Oct-2021 |
Harman Kalra <hkalra@marvell.com> |
interrupts: add allocator and accessors
Prototype/Implement get set APIs for interrupt handle fields. User won't be able to access any of the interrupt handle fields directly while should use these
interrupts: add allocator and accessors
Prototype/Implement get set APIs for interrupt handle fields. User won't be able to access any of the interrupt handle fields directly while should use these get/set APIs to access/manipulate them.
Internal interrupt header i.e. rte_eal_interrupt.h is rearranged, as APIs defined are moved to rte_interrupts.h and epoll specific definitions are moved to a new header rte_epoll.h. Later in the series rte_eal_interrupt.h will be removed.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Ray Kinsella <mdr@ashroe.eu> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Signed-off-by: David Marchand <david.marchand@redhat.com> Tested-by: Raslan Darawsheh <rasland@nvidia.com>
show more ...
|