#
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 ...
|
#
73d85848 |
| 05-Dec-2023 |
Stephen Hemminger <stephen@networkplumber.org> |
acl: use a dynamic logtype
Get rid of RTE_LOGTYPE_ACL and RTE_LOGTYPE_MALLOC. For ACL library use a dynamic type. The one message using RTE_LOGTYPE_MALLOC should have been under the ACL logtype anyw
acl: use a dynamic logtype
Get rid of RTE_LOGTYPE_ACL and RTE_LOGTYPE_MALLOC. For ACL library use a dynamic type. The one message using RTE_LOGTYPE_MALLOC should have been under the ACL logtype anyway.
The test code should not have been using fixed log type so just change that to stderr.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
b0986c39 |
| 27-Jul-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
build: remove unnecessary AVX2 compiler flag
Since AVX2 is always available at build time, the CC_AVX2_SUPPORT cflag became equivalent to the RTE_ARCH_X86 one. Therefore, we can just remove all use
build: remove unnecessary AVX2 compiler flag
Since AVX2 is always available at build time, the CC_AVX2_SUPPORT cflag became equivalent to the RTE_ARCH_X86 one. Therefore, we can just remove all use of the flag, replacing it will the RTE_ARCH_X86 one, and also simplifying the code in a few places where we can merge with other X86/non-X86 blocks e.g. for providing SSE fallbacks.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
30a1de10 |
| 15-Feb-2022 |
Sean Morrissey <sean.morrissey@intel.com> |
lib: remove unneeded header includes
These header includes have been flagged by the iwyu_tool and removed.
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
|
#
99a2dd95 |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also m
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|