diff --git a/dpdk-thunderx.changes b/dpdk-thunderx.changes index 0c2c8f9..ebe7645 100644 --- a/dpdk-thunderx.changes +++ b/dpdk-thunderx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 20 14:16:57 CEST 2018 - ndas@suse.de + +- Enable MLX4/5 PMD only in Factory and >= SLES15 + It needs rdma-core >= v16. + ------------------------------------------------------------------- Tue Mar 6 11:35:29 UTC 2018 - marco.varlese@suse.de diff --git a/dpdk-thunderx.spec b/dpdk-thunderx.spec index f27bb7f..b8ded96 100644 --- a/dpdk-thunderx.spec +++ b/dpdk-thunderx.spec @@ -70,7 +70,9 @@ BuildRequires: libelf-devel BuildRequires: libnuma-devel BuildRequires: libpcap-devel BuildRequires: pesign-obs-integration +%if 0%{?sle_version} >= 150000 BuildRequires: rdma-core-devel +%endif BuildRequires: zlib-devel ExclusiveArch: aarch64 Provides: dpdk-any = %{version} @@ -198,9 +200,10 @@ function setdefaultconf() setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1 setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1 setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y $1 +%if 0%{?sle_version} >= 150000 setconf CONFIG_RTE_LIBRTE_MLX5_PMD y $1 setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1 - +%endif setconf CONFIG_RTE_EAL_IGB_UIO n $1 setconf CONFIG_RTE_KNI_KMOD n $1 diff --git a/dpdk.changes b/dpdk.changes index 0c2c8f9..ebe7645 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 20 14:16:57 CEST 2018 - ndas@suse.de + +- Enable MLX4/5 PMD only in Factory and >= SLES15 + It needs rdma-core >= v16. + ------------------------------------------------------------------- Tue Mar 6 11:35:29 UTC 2018 - marco.varlese@suse.de diff --git a/dpdk.spec b/dpdk.spec index 53fc28d..3eac0a5 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -68,7 +68,9 @@ BuildRequires: libelf-devel BuildRequires: libnuma-devel BuildRequires: libpcap-devel BuildRequires: pesign-obs-integration +%if 0%{?sle_version} >= 150000 BuildRequires: rdma-core-devel +%endif BuildRequires: zlib-devel ExclusiveArch: aarch64 x86_64 %ix86 ppc64le Provides: dpdk-any = %{version} @@ -196,9 +198,10 @@ function setdefaultconf() setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1 setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1 setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y $1 +%if 0%{?sle_version} >= 150000 setconf CONFIG_RTE_LIBRTE_MLX5_PMD y $1 setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1 - +%endif setconf CONFIG_RTE_EAL_IGB_UIO n $1 setconf CONFIG_RTE_KNI_KMOD n $1