Commit d62a3810 authored by Tomasz Zawadzki's avatar Tomasz Zawadzki
Browse files

lib/env_dpdk: updated version for DPDK main tests



DPDK main development now targets DPDK 23.11 release.
Updated to that version for validation purposes.

After each new release this version should be updated.
In case someone uses development version, but not for
latest DPDK, it will fall through to the fn_table assignment
below.

While here upated the comment and print message to be more
generic.

Fixes #3084

Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I1f21053c13b6abeac39c64131f65b0a3ce899c15
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19332


Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 2c8000be
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -28,13 +28,14 @@ dpdk_pci_init(void)
		return -EINVAL;
	}

	/* Add support for DPDK main branch.
	/* Add support for DPDK main branch, should be updated after each new release.
	 * Only DPDK in development has additional suffix past minor version.
	 */
	if (strlen(release) != 0) {
		if (year == 23 && month == 7 && minor == 0) {
		if (year == 23 && month == 11 && minor == 0) {
			g_dpdk_fn_table = &fn_table_2211;
			SPDK_NOTICELOG("DPDK version 23.07.0 not supported yet. Enabled only for validation.\n");
			SPDK_NOTICELOG("In-development %s is used. There is no support for it in SPDK. "
				       "Enabled only for validation.\n", rte_version());
			return 0;
		}
	}