lib: remove unneeded header includesThese header includes have been flagged by the iwyu_tooland removed.Signed-off-by: Sean Morrissey <[email protected]>
eal: remove sys/queue.h from public headersCurrently there are some public headers that include 'sys/queue.h', whichis not POSIX, but usually provided by the Linux/BSD system library.(Not in POSI
eal: remove sys/queue.h from public headersCurrently there are some public headers that include 'sys/queue.h', whichis not POSIX, but usually provided by the Linux/BSD system library.(Not in POSIX.1, POSIX.1-2001, or POSIX.1-2008. Present on the BSDs.)The file is missing on Windows. During the Windows build, DPDK uses abundled copy, so building a DPDK library works fine. But when OVS or otherapplications use DPDK as a library, because some DPDK public headersinclude 'sys/queue.h', on Windows, it triggers an error due to no suchfile.One solution is to install the 'lib/eal/windows/include/sys/queue.h' intoWindows environment, such as [1]. However, this means DPDK exports thefunctionalities of 'sys/queue.h' into the environment, which might causesymbols, macros, headers clashing with other applications.The patch fixes it by removing the "#include <sys/queue.h>" fromDPDK public headers, so programs including DPDK headers don't dependon the system to provide 'sys/queue.h'. When these public headers usemacros such as TAILQ_xxx, we replace it by the ones with RTE_ prefix.For Windows, we copy the definitions from <sys/queue.h> to rte_os.hin Windows EAL. Note that these RTE_ macros are compatible with<sys/queue.h>, both at the level of API (to use with <sys/queue.h>macros in C files) and ABI (to avoid breaking it).Additionally, the TAILQ_FOREACH_SAFE is not part of <sys/queue.h>,the patch replaces it with RTE_TAILQ_FOREACH_SAFE.[1] http://mails.dpdk.org/archives/dev/2021-August/216304.htmlSuggested-by: Nick Connolly <[email protected]>Suggested-by: Dmitry Kozlyuk <[email protected]>Signed-off-by: William Tu <[email protected]>Acked-by: Dmitry Kozlyuk <[email protected]>Acked-by: Narcisa Vasile <[email protected]>
show more ...
version: 21.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 22.0.The map files are updated to the new ABI major number (22).The ABI exceptions are dropped and C
version: 21.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 22.0.The map files are updated to the new ABI major number (22).The ABI exceptions are dropped and CI ABI checks are disabled becausecompatibility is not preserved.Signed-off-by: Thomas Monjalon <[email protected]>Acked-by: Ferruh Yigit <[email protected]>Acked-by: David Marchand <[email protected]>
bus/pci: configure PCI bus masterAdd the API to set 'Bus Master Enable' bit to be enabled or disabled inthe PCI command register.Signed-off-by: Haiyue Wang <[email protected]>Acked-by: Ray
bus/pci: configure PCI bus masterAdd the API to set 'Bus Master Enable' bit to be enabled or disabled inthe PCI command register.Signed-off-by: Haiyue Wang <[email protected]>Acked-by: Ray Kinsella <[email protected]>
lib: remove librte_ prefix from directory namesThere is no reason for the DPDK libraries to all have 'librte_' prefix onthe directory names. This prefix makes the directory names longer and alsom
lib: remove librte_ prefix from directory namesThere is no reason for the DPDK libraries to all have 'librte_' prefix onthe directory names. This prefix makes the directory names longer and alsomakes it awkward to add features referring to individual libraries in thebuild - should the lib names be specified with or without the prefix.Therefore, we can just remove the library prefix and use the library'sunique name as the directory name, i.e. 'eal' rather than 'librte_eal'Signed-off-by: Bruce Richardson <[email protected]>