Accepting request 599299 from home:ndas:branches:network
- Enable MLX4/5 PMD only in Factory and >= SLES15 It needs rdma-core >= v16. - Enable MLX4/5 PMD only in Factory and >= SLES15 It needs rdma-core >= v16. OBS-URL: https://build.opensuse.org/request/show/599299 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=79
This commit is contained in:
parent
f3cfa8c42c
commit
edf081a1a7
@ -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
|
Tue Mar 6 11:35:29 UTC 2018 - marco.varlese@suse.de
|
||||||
|
|
||||||
|
@ -70,7 +70,9 @@ BuildRequires: libelf-devel
|
|||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: pesign-obs-integration
|
BuildRequires: pesign-obs-integration
|
||||||
|
%if 0%{?sle_version} >= 150000
|
||||||
BuildRequires: rdma-core-devel
|
BuildRequires: rdma-core-devel
|
||||||
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
ExclusiveArch: aarch64
|
ExclusiveArch: aarch64
|
||||||
Provides: dpdk-any = %{version}
|
Provides: dpdk-any = %{version}
|
||||||
@ -198,9 +200,10 @@ function setdefaultconf()
|
|||||||
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
|
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
|
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA 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_MLX5_PMD y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
|
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
|
||||||
|
%endif
|
||||||
setconf CONFIG_RTE_EAL_IGB_UIO n $1
|
setconf CONFIG_RTE_EAL_IGB_UIO n $1
|
||||||
setconf CONFIG_RTE_KNI_KMOD n $1
|
setconf CONFIG_RTE_KNI_KMOD n $1
|
||||||
|
|
||||||
|
@ -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
|
Tue Mar 6 11:35:29 UTC 2018 - marco.varlese@suse.de
|
||||||
|
|
||||||
|
@ -68,7 +68,9 @@ BuildRequires: libelf-devel
|
|||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
BuildRequires: libpcap-devel
|
BuildRequires: libpcap-devel
|
||||||
BuildRequires: pesign-obs-integration
|
BuildRequires: pesign-obs-integration
|
||||||
|
%if 0%{?sle_version} >= 150000
|
||||||
BuildRequires: rdma-core-devel
|
BuildRequires: rdma-core-devel
|
||||||
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
ExclusiveArch: aarch64 x86_64 %ix86 ppc64le
|
ExclusiveArch: aarch64 x86_64 %ix86 ppc64le
|
||||||
Provides: dpdk-any = %{version}
|
Provides: dpdk-any = %{version}
|
||||||
@ -196,9 +198,10 @@ function setdefaultconf()
|
|||||||
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
|
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
|
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA 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_MLX5_PMD y $1
|
||||||
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
|
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
|
||||||
|
%endif
|
||||||
setconf CONFIG_RTE_EAL_IGB_UIO n $1
|
setconf CONFIG_RTE_EAL_IGB_UIO n $1
|
||||||
setconf CONFIG_RTE_KNI_KMOD n $1
|
setconf CONFIG_RTE_KNI_KMOD n $1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user