SHA256
1
0
forked from pool/dpdk
Dominique Leuenberger 2017-12-12 20:22:40 +00:00 committed by Git OBS Bridge
commit 561b1c01eb
7 changed files with 45 additions and 12 deletions

View File

@ -1,7 +1,7 @@
From 8b7d703c5d892060c663697c74e30e2ee91362a8 Mon Sep 17 00:00:00 2001
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 1/2] enic: fix "Type-punning and strict-aliasing" warning
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
---
@ -9,16 +9,19 @@ Inspired by http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk-2.2-punni
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c
index 6bea940..d0214b6 100644
index 33a3f87e2..35769e0ba 100644
--- a/drivers/net/enic/enic_ethdev.c
+++ b/drivers/net/enic/enic_ethdev.c
@@ -372,13 +372,15 @@ static void enicpmd_dev_stop(struct rte_eth_dev *eth_dev)
@@ -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));
@ -32,5 +35,5 @@ index 6bea940..d0214b6 100644
/*
--
2.6.2
2.15.1

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0072ca79508dc3c77fc42f3ff550415e2c7399cf53c9a3fee6700811ed9a854c
size 10161812

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bd77822ef6fe7a39ab8b11b36b86ba511282ac5ffdb81459eebb42bec5b7ef8
size 10156500

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Dec 11 07:53:13 UTC 2017 - marco.varlese@suse.de
- Upgraded to latest stable 17.08.1; some of the fixes include:
* net/qede: disable per-VF Tx switching feature
* revert "net/virtio: flush Rx queues on start"
* various fixes for mlx5 PMD drivers
* various fixes for bnxt PMD drivers
* various fixes for i40e PMD drivers
* various fixes for crypto PMD drivers
* testpmd: fix for non-consecutive ports
* ethdev: fix ABI version
-------------------------------------------------------------------
Wed Nov 15 09:02:07 UTC 2017 - mchandras@suse.de

View File

@ -41,12 +41,14 @@
# Add option to build without tools
%bcond_without tools
# The lname versioning is based solely on the MAJOR and MINOR
# as per DPDK CONFIG_RTE_MAJOR_ABI.
%define lname libdpdk-17_08-0
# Do NOT edit this auto generated file! Edit dpdk.spec instead
# and run 'pre_checkin.sh' before committing
Name: dpdk-thunderx
Version: 17.08
Version: 17.08.1
Release: 0
Summary: Set of libraries and drivers for fast packet processing (thunderx)
License: BSD-3-Clause and GPL-2.0 and LGPL-2.1
@ -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 .kni

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Dec 11 07:53:13 UTC 2017 - marco.varlese@suse.de
- Upgraded to latest stable 17.08.1; some of the fixes include:
* net/qede: disable per-VF Tx switching feature
* revert "net/virtio: flush Rx queues on start"
* various fixes for mlx5 PMD drivers
* various fixes for bnxt PMD drivers
* various fixes for i40e PMD drivers
* various fixes for crypto PMD drivers
* testpmd: fix for non-consecutive ports
* ethdev: fix ABI version
-------------------------------------------------------------------
Wed Nov 15 09:02:07 UTC 2017 - mchandras@suse.de

View File

@ -41,10 +41,12 @@
# Add option to build without tools
%bcond_without tools
# The lname versioning is based solely on the MAJOR and MINOR
# as per DPDK CONFIG_RTE_MAJOR_ABI.
%define lname libdpdk-17_08-0
Name: dpdk
Version: 17.08
Version: 17.08.1
Release: 0
Summary: Set of libraries and drivers for fast packet processing
License: BSD-3-Clause and GPL-2.0 and LGPL-2.1
@ -154,7 +156,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 .kni