diff --git a/dpdk-rte-ether-align.patch b/dpdk-rte-ether-align.patch new file mode 100644 index 0000000..029f8c5 --- /dev/null +++ b/dpdk-rte-ether-align.patch @@ -0,0 +1,17 @@ +diff -up ./lib/librte_net/rte_ether.h.align ./lib/librte_net/rte_ether.h +--- ./lib/librte_net/rte_ether.h.align 2018-04-19 10:09:22.000000000 -0400 ++++ ./lib/librte_net/rte_ether.h 2019-02-12 14:15:57.719572582 -0500 +@@ -175,10 +175,9 @@ static inline int is_multicast_ether_add + */ + static inline int is_broadcast_ether_addr(const struct ether_addr *ea) + { +- const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea; +- +- return (ea_words[0] == 0xFFFF && ea_words[1] == 0xFFFF && +- ea_words[2] == 0xFFFF); ++ return (ea->addr_bytes[0] == 0xFF && ea->addr_bytes[1] == 0xFF && ++ ea->addr_bytes[2] == 0xFF && ea->addr_bytes[3] == 0xFF && ++ ea->addr_bytes[4] == 0xFF && ea->addr_bytes[5] == 0xFF); + } + + /** diff --git a/dpdk.spec b/dpdk.spec index 0a18c15..02e70b3 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -9,13 +9,14 @@ Name: dpdk Version: 17.11.2 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 2 URL: http://dpdk.org Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.xz Patch0: app-pie.patch Patch1: fcf-protection.patch +Patch2: dpdk-rte-ether-align.patch Summary: Set of libraries and drivers for fast packet processing @@ -126,6 +127,7 @@ as L2 and L3 forwarding. %ifarch x86_64 i686 %patch1 -p1 %endif +%patch2 -p1 %build %set_build_flags @@ -309,6 +311,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi %endif %changelog +* Wed Feb 13 2019 Neil Horman - 2:17.11.2-6 +- Fix some FTBFS errors (1674825) + * Thu Jan 31 2019 Fedora Release Engineering - 2:17.11.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild