build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by
build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by make.[1] https://mails.dpdk.org/archives/dev/2020-April/162839.htmlSigned-off-by: Ciara Power <[email protected]>Reviewed-by: Ruifeng Wang <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
contigmem: cleanup properly when load failsIf contigmem is not able to allocate all of therequested buffers, it frees whatever buffers wereable to be allocated up until that point.But the point
contigmem: cleanup properly when load failsIf contigmem is not able to allocate all of therequested buffers, it frees whatever buffers wereable to be allocated up until that point.But the pointers are not set to NULL in that case.After the load fails, the FreeBSD kernel willimmediately call the contigmem unload handler, whichtries to free the buffers again since the pointerswere not set to NULL.It's not clear that we should just rely on the unloadhandler getting called after load failure. So let'skeep the existing cleanup code in the load handler,but explicitly set the pointers to NULL after freeingthem.Fixes: 5f51eca22489 ("contigmem: free allocated memory on error")Cc: [email protected]Signed-off-by: Jim Harris <[email protected]>Acked-by: Bruce Richardson <[email protected]>
contigmem: update for FreeBSD 13FreeBSD 13 has changed the definition of vm_page_replace so we needto have slightly different code paths around this function depending onthe BSD version.Signed-
contigmem: update for FreeBSD 13FreeBSD 13 has changed the definition of vm_page_replace so we needto have slightly different code paths around this function depending onthe BSD version.Signed-off-by: Bruce Richardson <[email protected]>
kernel/freebsd: fix module build on latest headInternal changes in the freebsd kernel have meant that additional includesare now necessary to build the kernel modules for DPDK. Tested with latest
kernel/freebsd: fix module build on latest headInternal changes in the freebsd kernel have meant that additional includesare now necessary to build the kernel modules for DPDK. Tested with latestbsd HEAD revision.Bugzilla ID: 282Cc: [email protected]Signed-off-by: Bruce Richardson <[email protected]>
move kernel modules directoriesThis patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code.Signed-off-by: Hemant Agrawal <hemant.a
move kernel modules directoriesThis patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code.Signed-off-by: Hemant Agrawal <[email protected]>Tested-by: Bruce Richardson <[email protected]>