env_dpdk: add support for DPDK 22.11.1 LTS

Shortly after DPDK 22.11 release it was amended with single
patch, which bumped the minor version.

No changes have occurred to the DPDK PCI API.

Change-Id: I94dadb23b3ad79cfbb21e848d718d909493137d1
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15890
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Michal Berger <michal.berger@intel.com>
This commit is contained in:
Tomasz Zawadzki 2022-12-13 11:10:10 +01:00
parent 6e770cf8d6
commit 8f45e159a3

View File

@ -34,7 +34,7 @@ dpdk_pci_init(void)
} }
if (year == 22 && month == 11) { if (year == 22 && month == 11) {
if (minor != 0) { if (minor > 1) {
/* It is possible that LTS minor release changed private ABI, so we /* It is possible that LTS minor release changed private ABI, so we
* cannot assume fn_table_2211 works for minor releases. As 22.11 * cannot assume fn_table_2211 works for minor releases. As 22.11
* minor releases occur, this will need to be updated to either affirm * minor releases occur, this will need to be updated to either affirm