SHA256
1
0
forked from pool/dpdk

Accepting request 668322 from home:ndas:branches:network

- Update to 18.11; some of the changes are:
  * Added support for using externally allocated memory in DPDK.
  * Added check for ensuring allocated memory is addressable by devices.
  * Updated the C11 memory model version of the ring library.
  * Added NXP CAAM JR PMD.
  * Added support for GEN3 devices to Intel QAT driver.
  * Added Distributed Software Eventdev PMD.
  * Updated KNI kernel module, rte_kni library, and KNI sample application.
  * Add a new sample application for vDPA.
  * Updated mlx5 driver.
    ** Improved security of PMD to prevent the NIC from getting stuck when the application misbehaves.
    ** Reworked flow engine to supported e-switch flow rules (transfer attribute).
    ** Added support for header re-write(L2-L4), VXLAN encap/decap, count, match on TCP flags and multiple flow groups with e-switch flow rules.
    ** Added support for match on metadata, VXLAN and MPLS encap/decap with flow rules.
    ** Added support for RTE_ETH_DEV_CLOSE_REMOVE flag to provide better support for representors.
    ** Added support for meson build.
    ** Fixed build issue with PPC.
    ** Added support for BlueField VF.
    ** Added support for externally allocated static memory for DMA.
  all the changes can be viwed in http://doc.dpdk.org/guides/rel_notes/release_18_11.html
  [- 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch]

- Update to 18.11; some of the changes are:
  * Added support for using externally allocated memory in DPDK.
  * Added check for ensuring allocated memory is addressable by devices.
  * Updated the C11 memory model version of the ring library.
  * Added NXP CAAM JR PMD.
  * Added support for GEN3 devices to Intel QAT driver.
  * Added Distributed Software Eventdev PMD.
  * Updated KNI kernel module, rte_kni library, and KNI sample application.

OBS-URL: https://build.opensuse.org/request/show/668322
OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=93
This commit is contained in:
Nirmoy Das 2019-01-24 16:14:12 +00:00 committed by Git OBS Bridge
parent 3e36640fb0
commit dfa5fe8afc
7 changed files with 61 additions and 66 deletions

View File

@ -1,39 +0,0 @@
From 3b16535193326c44209bb54b3a0f9ac3c258c8f8 Mon Sep 17 00:00:00 2001
From: Nirmoy Das <ndas@suse.de>
Date: Mon, 11 Apr 2016 15:01:06 +0200
Subject: [PATCH] enic: fix "Type-punning and strict-aliasing" warning
Inspired by http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk-2.2-punning.patch
---
drivers/net/enic/enic_ethdev.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c
index 33a3f87e2..35769e0ba 100644
--- a/drivers/net/enic/enic_ethdev.c
+++ b/drivers/net/enic/enic_ethdev.c
@@ -436,6 +436,8 @@ static void enicpmd_dev_stop(struct rte_eth_dev *eth_dev)
{
struct rte_eth_link link;
struct enic *enic = pmd_priv(eth_dev);
+ uint64_t *dev_link_ptr = (uint64_t *)&eth_dev->data->dev_link;
+ uint64_t *link_ptr = (uint64_t *)&link;
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
return;
@@ -443,9 +445,9 @@ static void enicpmd_dev_stop(struct rte_eth_dev *eth_dev)
ENICPMD_FUNC_TRACE();
enic_disable(enic);
memset(&link, 0, sizeof(link));
- rte_atomic64_cmpset((uint64_t *)&eth_dev->data->dev_link,
- *(uint64_t *)&eth_dev->data->dev_link,
- *(uint64_t *)&link);
+ rte_atomic64_cmpset(dev_link_ptr,
+ *dev_link_ptr,
+ *link_ptr);
}
/*
--
2.15.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56ee122e0761d303bc196a4015052d99875f76a468252c3c438aa556ad9d2134
size 10470820

3
dpdk-18.11.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76543b0a96f9e10a39a341eb137b363d26ece9b508d3f307668e91281d7a72fd
size 11346132

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Thu Jan 24 14:17:48 CET 2019 - ndas@suse.de
- Update to 18.11; some of the changes are:
* Added support for using externally allocated memory in DPDK.
* Added check for ensuring allocated memory is addressable by devices.
* Updated the C11 memory model version of the ring library.
* Added NXP CAAM JR PMD.
* Added support for GEN3 devices to Intel QAT driver.
* Added Distributed Software Eventdev PMD.
* Updated KNI kernel module, rte_kni library, and KNI sample application.
* Add a new sample application for vDPA.
* Updated mlx5 driver.
** Improved security of PMD to prevent the NIC from getting stuck when the application misbehaves.
** Reworked flow engine to supported e-switch flow rules (transfer attribute).
** Added support for header re-write(L2-L4), VXLAN encap/decap, count, match on TCP flags and multiple flow groups with e-switch flow rules.
** Added support for match on metadata, VXLAN and MPLS encap/decap with flow rules.
** Added support for RTE_ETH_DEV_CLOSE_REMOVE flag to provide better support for representors.
** Added support for meson build.
** Fixed build issue with PPC.
** Added support for BlueField VF.
** Added support for externally allocated static memory for DMA.
all the changes can be viwed in http://doc.dpdk.org/guides/rel_notes/release_18_11.html
[- 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 25 15:26:53 CEST 2018 - ndas@suse.de Thu Oct 25 15:26:53 CEST 2018 - ndas@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package dpdk-thunderx # spec file for package dpdk-thunderx
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -44,13 +44,13 @@
# The lname versioning is based solely on the MAJOR and MINOR # The lname versioning is based solely on the MAJOR and MINOR
# as per DPDK CONFIG_RTE_MAJOR_ABI. # as per DPDK CONFIG_RTE_MAJOR_ABI.
%define maj 18 %define maj 18
%define min 02 %define min 11
%define lname libdpdk-%{maj}_%{min} %define lname libdpdk-%{maj}_%{min}
# Do NOT edit this auto generated file! Edit dpdk.spec instead # Do NOT edit this auto generated file! Edit dpdk.spec instead
# and run 'pre_checkin.sh' before committing # and run 'pre_checkin.sh' before committing
Name: dpdk-thunderx Name: dpdk-thunderx
Version: 18.02.2 Version: 18.11
Release: 0 Release: 0
Summary: Set of libraries and drivers for fast packet processing (thunderx) 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 License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only
@ -58,13 +58,6 @@ Group: System/Libraries
Url: http://dpdk.org Url: http://dpdk.org
Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
Source1: preamble Source1: preamble
# PATCH-FIX-OPENSUSE 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
# This patch was originally taken from the fedora package but they have
# removed it since then because of
# http://osdir.com/ml/scm-fedora-commits/2016-03/msg00849.html
# However, the problem still exists and the fix has to find its way to the
# upstream code.
Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libelf-devel BuildRequires: libelf-devel
@ -161,8 +154,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the
%prep %prep
# can't use %{name} because of dpdk-thunderx # can't use %{name} because of dpdk-thunderx
%setup -q -n dpdk-stable-%{version} %setup -q -n dpdk-%{version}
%patch1 -p1 -z .enic
# This fixes CROSS compilation (broken) in the mk file for ThunderX # This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Thu Jan 24 14:17:48 CET 2019 - ndas@suse.de
- Update to 18.11; some of the changes are:
* Added support for using externally allocated memory in DPDK.
* Added check for ensuring allocated memory is addressable by devices.
* Updated the C11 memory model version of the ring library.
* Added NXP CAAM JR PMD.
* Added support for GEN3 devices to Intel QAT driver.
* Added Distributed Software Eventdev PMD.
* Updated KNI kernel module, rte_kni library, and KNI sample application.
* Add a new sample application for vDPA.
* Updated mlx5 driver.
** Improved security of PMD to prevent the NIC from getting stuck when the application misbehaves.
** Reworked flow engine to supported e-switch flow rules (transfer attribute).
** Added support for header re-write(L2-L4), VXLAN encap/decap, count, match on TCP flags and multiple flow groups with e-switch flow rules.
** Added support for match on metadata, VXLAN and MPLS encap/decap with flow rules.
** Added support for RTE_ETH_DEV_CLOSE_REMOVE flag to provide better support for representors.
** Added support for meson build.
** Fixed build issue with PPC.
** Added support for BlueField VF.
** Added support for externally allocated static memory for DMA.
all the changes can be viwed in http://doc.dpdk.org/guides/rel_notes/release_18_11.html
[- 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 25 15:26:53 CEST 2018 - ndas@suse.de Thu Oct 25 15:26:53 CEST 2018 - ndas@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package dpdk # spec file for package dpdk
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -44,11 +44,11 @@
# The lname versioning is based solely on the MAJOR and MINOR # The lname versioning is based solely on the MAJOR and MINOR
# as per DPDK CONFIG_RTE_MAJOR_ABI. # as per DPDK CONFIG_RTE_MAJOR_ABI.
%define maj 18 %define maj 18
%define min 02 %define min 11
%define lname libdpdk-%{maj}_%{min} %define lname libdpdk-%{maj}_%{min}
Name: dpdk Name: dpdk
Version: 18.02.2 Version: 18.11
Release: 0 Release: 0
Summary: Set of libraries and drivers for fast packet processing Summary: Set of libraries and drivers for fast packet processing
License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only
@ -56,13 +56,6 @@ Group: System/Libraries
Url: http://dpdk.org Url: http://dpdk.org
Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
Source1: preamble Source1: preamble
# PATCH-FIX-OPENSUSE 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
# This patch was originally taken from the fedora package but they have
# removed it since then because of
# http://osdir.com/ml/scm-fedora-commits/2016-03/msg00849.html
# However, the problem still exists and the fix has to find its way to the
# upstream code.
Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libelf-devel BuildRequires: libelf-devel
@ -159,8 +152,7 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the
%prep %prep
# can't use %{name} because of dpdk-thunderx # can't use %{name} because of dpdk-thunderx
%setup -q -n dpdk-stable-%{version} %setup -q -n dpdk-%{version}
%patch1 -p1 -z .enic
# This fixes CROSS compilation (broken) in the mk file for ThunderX # This fixes CROSS compilation (broken) in the mk file for ThunderX
sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk