Resolves: bz 1476341

This commit is contained in:
Neil Horman 2017-07-31 11:47:20 -04:00 committed by Neil Horman
parent c52b4798d8
commit 1f0725d632
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
commit 5b45c30a00ecbd5181e5679b13ca059bcd761ead
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date: Thu Jun 22 13:04:59 2017 +0100
ethdev: add missing symbol in map
The function rte_eth_tx_done_cleanup() was missing in the map file
so it cannot be used by applications linking to shared libraries.
pktgen uses it since version 3.2.0.
Fixes: 44a718c457b5 ("ethdev: add API to free consumed buffers in Tx ring")
Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
index 805e6de80..e0881f09d 100644
--- a/lib/librte_ether/rte_ether_version.map
+++ b/lib/librte_ether/rte_ether_version.map
@@ -142,6 +142,7 @@ DPDK_17.05 {
rte_eth_dev_attach_secondary;
rte_eth_find_next;
+ rte_eth_tx_done_cleanup;
rte_eth_xstats_get_by_id;
rte_eth_xstats_get_id_by_name;
rte_eth_xstats_get_names_by_id;

View File

@ -9,10 +9,11 @@
Name: dpdk
Version: 17.05
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://dpdk.org
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.xz
Patch1: lengthfix.patch
Patch2: 5b45c30a00ecbd5181e5679b13ca059bcd761ead.patch
Summary: Set of libraries and drivers for fast packet processing
@ -119,6 +120,7 @@ as L2 and L3 forwarding.
%prep
%setup -q
%patch1 -p1 -b .lengthfix
%patch2 -p1 -b .5b45c30
%build
# set up a method for modifying the resulting .config file
@ -271,6 +273,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%endif
%changelog
* Mon Jul 31 2017 Neil Horman <nhorman@redhat.com> - 17.05-2
- backport rte_eth_tx_done_cleanup map fix (#1476341)
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.05-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild