From 0897a2e76d41fe326ba1b53556c9fb0330a6de98 Mon Sep 17 00:00:00 2001 From: Konrad Sztyber Date: Tue, 4 Apr 2023 12:08:14 +0200 Subject: [PATCH] env_dpdk: add support for DPDK main branch Now that DPDK v23.03.0 has been released, the version on the main branch points to the next release, v23.07.0-rc0, so we need to adjust the version check to enable testing against the main branch. Signed-off-by: Konrad Sztyber Change-Id: I37d165111c446612d573c19199e4ace6aa24d191 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17480 Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk --- lib/env_dpdk/pci_dpdk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/env_dpdk/pci_dpdk.c b/lib/env_dpdk/pci_dpdk.c index 44a96944a..27fdd3a91 100644 --- a/lib/env_dpdk/pci_dpdk.c +++ b/lib/env_dpdk/pci_dpdk.c @@ -32,9 +32,9 @@ dpdk_pci_init(void) * Only DPDK in development has additional suffix past minor version. */ if (strlen(release) != 0) { - if (year == 23 && month == 3 && minor == 0) { + if (year == 23 && month == 7 && minor == 0) { g_dpdk_fn_table = &fn_table_2211; - SPDK_NOTICELOG("DPDK version 23.03.0 not supported yet. Enabled only for validation.\n"); + SPDK_NOTICELOG("DPDK version 23.07.0 not supported yet. Enabled only for validation.\n"); return 0; } }