Commit 48c41d94 authored by Konrad Sztyber's avatar Konrad Sztyber
Browse files

env: add support for dpdk v24.07.0



Signed-off-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I0bee5f389ef983e4ff9379ef874d9b5cc87fde12
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24422


Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz@tzawadzki.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarMichal Berger <michal.berger@intel.com>
parent bc3ab3d3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -69,12 +69,13 @@ dpdk_pci_init(void)
		/* There were no changes between 22.11 and 23.11, so use the 22.11 implementation. */
		g_dpdk_fn_table = &fn_table_2211;
	} else if (year == 24) {
		/* Only 24.03.0 is supported. */
		if (month != 3 || minor != 0) {
		/* Only 24.03.0 and 24.07.0 are supported. */
		if ((month != 7 || minor != 0) &&
		    (month != 3 || minor != 0)) {
			SPDK_ERRLOG("DPDK version 24.%02d.%d is not supported.\n", month, minor);
			return -EINVAL;
		}
		/* There were no changes between 22.11 and 24.03, so use the 22.11 implementation. */
		/* There were no changes between 22.11 and 24.*, so use the 22.11 implementation. */
		g_dpdk_fn_table = &fn_table_2211;
	} else if (year < 21 || (year == 21 && month < 11)) {
		SPDK_ERRLOG("DPDK version %02d.%02d.%d is not supported.\n", year, month, minor);