181143cc | 18-Oct-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
env_dpdk: drop compatibility with DPDK < v21.11
The oldest, still supported, version of DPDK is v20.11 and it'll be EOL-ed in December, before the next SPDK release, so let's just drop compatibility
env_dpdk: drop compatibility with DPDK < v21.11
The oldest, still supported, version of DPDK is v20.11 and it'll be EOL-ed in December, before the next SPDK release, so let's just drop compatibility with anything older than v21.11 now. It was half-broken anyway, as our copies of DPDK headers had an
#ifdef RTE_VERSION < RTE_VERSION_NUM(21, 11, 0, 0)
in one of the structure definitions, so the code built against v20.11 wouldn't work correctly under v21.11+.
Fixes #3153.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I3d3f45382f7858e60ca5f013d0c0e2fd5cd9959f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20331 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Michal Berger <michal.berger@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot
show more ...
|
396e6fac | 02-Aug-2023 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
lib/env_dpdk: update PCI headers for DPDK 23.07
The header copies are placed in directory named after first release where a breaking change was introduced. DPDK 22.11 introduced a breaking change an
lib/env_dpdk: update PCI headers for DPDK 23.07
The header copies are placed in directory named after first release where a breaking change was introduced. DPDK 22.11 introduced a breaking change and as such new copies were created. Since then, DPDK 23.07 is the first version where API is changed. This time around it does not affect backwards compatibility, as new functions were added. Headers from DPDK 22.11 will still work for DPDK 23.07 and prior versions, so long as the new functions are not used.
To avoid unnecessarily creating another copy of headers and implementation, for DPDK 23.07, the DPDK 22.11 remained as they were.
If rte_pci_mmio_read/write() are to be used in future, simply a new copy and implementation should be created. To catch the case of someone unaware of this versioning, starts to use this API an redefinition of those functions were added.
For purposes of test verifying the DPDK PCI headers, a patch removing those functions was added. This way DPDK 23.07 and later will match current header copies.
Change-Id: I5d3813eced7f15d6dc4d7b8654f256ae1eebcd32 Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19333 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
2c8000be | 02-Aug-2023 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
test/env_dpdk: exit with error when check fails
check_dpdk_pci_api.sh is used within tests, so if check fails with a difference present the error should be reported up.
This is th reason why GH #30
test/env_dpdk: exit with error when check fails
check_dpdk_pci_api.sh is used within tests, so if check fails with a difference present the error should be reported up.
This is th reason why GH #3084 was not caught.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Idb6915644bb1a27423674a387bdcedaafe945c45 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19330 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|