diff --git a/dpdk-18.02.1.tar.xz b/dpdk-18.02.1.tar.xz new file mode 100644 index 0000000..1e89254 --- /dev/null +++ b/dpdk-18.02.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47b8c5712accb91a36c4194ee749973e8373a61aefc373490a02e32f6cb4b6bd +size 10457900 diff --git a/dpdk-18.02.tar.xz b/dpdk-18.02.tar.xz deleted file mode 100644 index ad1c26a..0000000 --- a/dpdk-18.02.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:273665e2d9bc3700a07957e89258d1ed70a7ff950fc25621e252bc03970be1a1 -size 10457524 diff --git a/dpdk-thunderx.changes b/dpdk-thunderx.changes index 0c2c8f9..dccbd35 100644 --- a/dpdk-thunderx.changes +++ b/dpdk-thunderx.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon Apr 23 14:11:51 UTC 2018 - marco.varlese@suse.com + +- Update to 18.02.1 +- Restrict untrusted guest to misuse virtio to corrupt + host application(ovs-dpdk) memory which can lead all VM to lose + connectivity(CVE-2018-1059,bsc#1089638). + Changes: + * Add deprecation notice for rte_vhost_gpa_to_vva() + * Patch vhost-net and vhost-scsi examples + * Fixes checkpatch warnings + * Take VIRTIO_RING_F_EVENT_IDX into account when ring size (Tiwei) + * Fix next chuncks translation access rights in Rx paths (Tiwei) + * vhost: fix indirect descriptors table translation size + * vhost: check all range is mapped when translating GPAs + * vhost: introduce safe API for GPA translation + * vhost: ensure all range is mapped when translating QVAs + * vhost: add support for non-contiguous indirect descs tables + * vhost: handle virtually non-contiguous buffers in Tx + * vhost: handle virtually non-contiguous buffers in Rx + * vhost: handle virtually non-contiguous buffers in Rx-mrg + * examples/vhost: move to safe GPA translation API + * examples/vhost_scsi: move to safe GPA translation API + * vhost/crypto: move to safe GPA translation API + * vhost: deprecate unsafe GPA translation API + +------------------------------------------------------------------- +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..a66ba88 100644 --- a/dpdk-thunderx.spec +++ b/dpdk-thunderx.spec @@ -48,7 +48,7 @@ # Do NOT edit this auto generated file! Edit dpdk.spec instead # and run 'pre_checkin.sh' before committing Name: dpdk-thunderx -Version: 18.02 +Version: 18.02.1 Release: 0 Summary: Set of libraries and drivers for fast packet processing (thunderx) License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only @@ -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} @@ -158,7 +160,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the %prep # can't use %{name} because of dpdk-thunderx -%setup -q -n dpdk-%{version} +%setup -q -n dpdk-stable-%{version} %patch1 -p1 -z .enic %patch2 -p1 -z .enic @@ -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..dccbd35 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Mon Apr 23 14:11:51 UTC 2018 - marco.varlese@suse.com + +- Update to 18.02.1 +- Restrict untrusted guest to misuse virtio to corrupt + host application(ovs-dpdk) memory which can lead all VM to lose + connectivity(CVE-2018-1059,bsc#1089638). + Changes: + * Add deprecation notice for rte_vhost_gpa_to_vva() + * Patch vhost-net and vhost-scsi examples + * Fixes checkpatch warnings + * Take VIRTIO_RING_F_EVENT_IDX into account when ring size (Tiwei) + * Fix next chuncks translation access rights in Rx paths (Tiwei) + * vhost: fix indirect descriptors table translation size + * vhost: check all range is mapped when translating GPAs + * vhost: introduce safe API for GPA translation + * vhost: ensure all range is mapped when translating QVAs + * vhost: add support for non-contiguous indirect descs tables + * vhost: handle virtually non-contiguous buffers in Tx + * vhost: handle virtually non-contiguous buffers in Rx + * vhost: handle virtually non-contiguous buffers in Rx-mrg + * examples/vhost: move to safe GPA translation API + * examples/vhost_scsi: move to safe GPA translation API + * vhost/crypto: move to safe GPA translation API + * vhost: deprecate unsafe GPA translation API + +------------------------------------------------------------------- +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..c5ff821 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -46,7 +46,7 @@ %define lname libdpdk-18_02-0 Name: dpdk -Version: 18.02 +Version: 18.02.1 Release: 0 Summary: Set of libraries and drivers for fast packet processing License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only @@ -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} @@ -156,7 +158,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the %prep # can't use %{name} because of dpdk-thunderx -%setup -q -n dpdk-%{version} +%setup -q -n dpdk-stable-%{version} %patch1 -p1 -z .enic %patch2 -p1 -z .enic @@ -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