dpdk.spec revision e0f06ca5
1%define ver %{_ver}
2# Add option to build as static libraries (--without shared)
3%bcond_without shared
4# Add option to build without examples
5%bcond_without examples
6# Add option to build without tools
7%bcond_without tools
8
9# Dont edit Version: and Release: directly, only these:
10%define ver 16.07
11%define rel 4
12# Define when building git snapshots
13
14%define srcver %{ver}%{?_snapver:-%{_snapver}}
15
16Name: dpdk
17Version: %{ver}.0
18Release: %{?_snapver:0.%{_snapver}.}%{rel}%{?dist}
19URL: http://dpdk.org
20Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{srcver}.tar.gz
21
22# Only needed for creating snapshot tarballs, not used in build itself
23Source100: dpdk-snapshot.sh
24
25Summary: Set of libraries and drivers for fast packet processing
26
27#
28# Note that, while this is dual licensed, all code that is included with this
29# Pakcage are BSD licensed. The only files that aren't licensed via BSD is the
30# kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora.
31#
32License: BSD and LGPLv2 and GPLv2
33
34#
35# The DPDK is designed to optimize througput of network traffic using, among
36# other techniques, carefully crafted x86 assembly instructions.  As such it
37# currently (and likely never will) run on non-x86 platforms.
38ExclusiveArch: x86_64 i686
39
40# machine_arch maps between rpm and dpdk arch name, often same as _target_cpu
41%define machine_arch %{_target_cpu}
42# machine_tmpl is the config template machine name, often "native"
43%define machine_tmpl native
44# machine is the actual machine name used in the dpdk make system
45%ifarch x86_64
46%define machine default
47%endif
48%ifarch i686
49%define machine atm
50%endif
51
52%define target %{machine_arch}-%{machine_tmpl}-linuxapp-gcc
53
54%define sdkdir  %{_datadir}/%{name}
55%define docdir  %{_docdir}/%{name}
56%define incdir  %{_includedir}/%{name}
57%define pmddir %{_libdir}/%{name}-pmds
58
59BuildRequires: kernel-headers, libpcap-devel, zlib-devel, numactl-devel
60BuildRequires: doxygen, python-sphinx, git
61
62%description
63The Data Plane Development Kit is a set of libraries and drivers for
64fast packet processing in the user space.
65
66%package devel
67Summary: Data Plane Development Kit development files
68Requires: %{name}%{?_isa} = %{version}-%{release}
69%if ! %{with shared}
70Provides: %{name}-static = %{version}-%{release}
71%endif
72
73%description devel
74This package contains the headers and other files needed for developing
75applications with the Data Plane Development Kit.
76
77%package doc
78Summary: Data Plane Development Kit API documentation
79BuildArch: noarch
80
81%description doc
82API programming documentation for the Data Plane Development Kit.
83
84%if %{with tools}
85%package tools
86Summary: Tools for setting up Data Plane Development Kit environment
87Requires: kmod pciutils findutils iproute
88
89%description tools
90%{summary}
91%endif
92
93%if %{with examples}
94%package examples
95Summary: Data Plane Development Kit example applications
96BuildRequires: libvirt-devel
97
98%description examples
99Example applications utilizing the Data Plane Development Kit, such
100as L2 and L3 forwarding.
101%endif
102
103%prep
104%autosetup -n %{name}-%{srcver} -S git_am
105
106%build
107function setconf()
108{
109    cf=%{target}/.config
110    if grep -q ^$1= $cf; then
111        sed -i "s:^$1=.*$:$1=$2:g" $cf
112    else
113        echo $1=$2 >> $cf
114    fi
115}
116# In case dpdk-devel is installed
117unset RTE_SDK RTE_INCLUDE RTE_TARGET
118
119# Avoid appending second -Wall to everything, it breaks hand-picked
120# disablers like per-file -Wno-strict-aliasing. Strip expclit -march=
121# from rpm optflags because they will just make builds fail, DPDK is
122# really picky about these things.
123export EXTRA_CFLAGS="`echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g'` -Wformat -fPIC"
124
125make V=1 O=%{target} T=%{target} %{?_smp_mflags} config
126
127# DPDK defaults to optimizing for the builder host we need generic binaries
128setconf CONFIG_RTE_MACHINE '"%{machine}"'
129setconf CONFIG_RTE_SCHED_VECTOR n
130
131# Enable automatic driver loading from this path
132setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"'
133
134# Enable bnx2x, qede, pcap and vhost-numa, the added deps are ok for us
135setconf CONFIG_RTE_LIBRTE_BNX2X_PMD y
136setconf CONFIG_RTE_LIBRTE_QEDE_PMD y
137setconf CONFIG_RTE_LIBRTE_PMD_PCAP y
138setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
139
140%if %{with shared}
141setconf CONFIG_RTE_BUILD_SHARED_LIB y
142%endif
143
144# Disable kernel modules
145setconf CONFIG_RTE_EAL_IGB_UIO n
146setconf CONFIG_RTE_LIBRTE_KNI n
147setconf CONFIG_RTE_KNI_KMOD n
148
149# Disable experimental and ABI-breaking code
150setconf CONFIG_RTE_NEXT_ABI n
151setconf CONFIG_RTE_LIBRTE_POWER n
152
153make V=1 O=%{target} %{?_smp_mflags}
154
155# Creating PDF's has excessive build-requirements, html docs suffice fine
156make V=1 O=%{target} %{?_smp_mflags} doc-api-html doc-guides-html
157
158%if %{with examples}
159make V=1 O=%{target}/examples T=%{target} %{?_smp_mflags} examples
160%endif
161
162%install
163# In case dpdk-devel is installed
164unset RTE_SDK RTE_INCLUDE RTE_TARGET
165
166%make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
167
168# Create a driver directory with symlinks to all pmds
169mkdir -p %{buildroot}/%{pmddir}
170%if %{with shared}
171for f in %{buildroot}/%{_libdir}/*_pmd_*.so.*; do
172    bn=$(basename ${f})
173    ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
174done
175%endif
176
177%if ! %{with tools}
178rm -rf %{buildroot}%{sdkdir}/tools
179rm -rf %{buildroot}%{_sbindir}/dpdk-devbind
180%endif
181rm -f %{buildroot}%{sdkdir}/tools/setup.sh
182
183%if %{with examples}
184find %{target}/examples/ -name "*.map" | xargs rm -f
185for f in %{target}/examples/*/%{target}/app/*; do
186    bn=`basename ${f}`
187    cp -p ${f} %{buildroot}%{_bindir}/${bn}
188done
189%else
190rm -rf %{buildroot}%{sdkdir}/examples
191%endif
192
193# Setup RTE_SDK environment as expected by apps etc
194mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
195cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
196if [ -z "\${RTE_SDK}" ]; then
197    export RTE_SDK="%{sdkdir}"
198    export RTE_TARGET="%{target}"
199    export RTE_INCLUDE="%{incdir}"
200fi
201EOF
202
203cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.csh
204if ( ! \$RTE_SDK ) then
205    setenv RTE_SDK "%{sdkdir}"
206    setenv RTE_TARGET "%{target}"
207    setenv RTE_INCLUDE "%{incdir}"
208endif
209EOF
210
211# Fixup target machine mismatch
212sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk*
213
214%files
215# BSD
216%doc README MAINTAINERS
217%{_bindir}/testpmd
218%{_bindir}/dpdk-procinfo
219%dir %{pmddir}
220%if %{with shared}
221%{_libdir}/*.so.*
222%{pmddir}/*.so.*
223%endif
224
225%files doc
226#BSD
227%{docdir}
228
229%files devel
230#BSD
231%{incdir}/
232%{sdkdir}/
233%if %{with tools}
234%exclude %{sdkdir}/tools/
235%endif
236%if %{with examples}
237%exclude %{sdkdir}/examples/
238%endif
239%{_sysconfdir}/profile.d/dpdk-sdk-*.*
240%if %{with shared}
241%{_libdir}/*.so
242%else
243%{_libdir}/*.a
244%endif
245
246%if %{with examples}
247%files examples
248%exclude %{_bindir}/dpdk-procinfo
249%{_bindir}/*
250%doc %{sdkdir}/examples/
251%endif
252
253%if %{with tools}
254%files tools
255%{sdkdir}/tools/
256%{_sbindir}/dpdk-devbind
257%endif
258
259%changelog
260* Tue May 24 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.4
261- Create DT_NEEDED entries for internal library dependencies
262- Fix missing zlib dependency on qede driver
263
264* Tue May 24 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.3
265- Enable crypto library + null driver, it is no longer experimental in 16.04
266
267* Fri May 20 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.2
268- Workaround #1337864
269
270* Fri May 20 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4560.git587d684d.1
271- New snapshot
272
273* Tue May 17 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4518.git213af31e.1
274- New snapshot
275
276* Wed May 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4499.gita5e20775.1
277- New snapshot
278
279* Tue May 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4481.gitdb340cf2.2
280- Fix build with gcc >= 6.0
281
282* Tue May 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4481.gitdb340cf2.1
283- New snapshot
284
285* Wed Apr 27 2016 Panu Matilainen <pmatilai@redhat.com> - 16.07-0.4433.gitd9ba0b2c.1
286- New 16.07-based snapshot
287- Drop the trailing zero from version for good
288- Add missing DT_NEEDED on librte_vhost to vhost pmd
289
290* Tue Apr 26 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-2
291- Get rid of the fedora-specific patch, -Wformat in CFLAGS is a nicer solution
292- Switch to %autosetup to reduce fiddling with eventual patches
293- Buildrequire git for patch application
294- Upstream patch to fix segfault on virtio tx
295
296* Wed Apr 13 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-1
297- Oops, bring back trailing zero, needed for rpm version compare...
298
299* Tue Apr 12 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04-1
300- Update to 16.04 final
301- Drop extra zero from version
302
303* Fri Apr 08 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4398.gitc0f81e90.1
304- New snapshot (16.04.0-rc4)
305
306* Thu Apr 07 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4370.gitb7d65109.1
307- New snapshot
308- Re-enable vhost numa support (fixed in rc1 already)
309
310* Mon Apr 04 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4339.gitf887a6f8.1
311- New snapshot (16.04.0-rc3)
312
313* Fri Apr 01 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4316.git4410efd3.1
314- New snapshot
315
316* Thu Mar 31 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4281.git5bcd7b5d.1
317- New snapshot
318
319* Tue Mar 29 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4273.git6ac91f93.1
320- New snapshot (16.04.0-rc2)
321
322* Wed Mar 23 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.4194.git281948b4.1
323- New snapshot
324
325* Thu Mar 17 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.1
326- New snapshot (16.04.0-rc1)
327
328* Wed Mar 16 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.2
329- Switch to ifarch-based solution for target/machine etc afterall
330
331* Mon Mar 14 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3984.git6b5a857f.1
332- New snapshot
333- Drop upstreamed dtneeded patch
334
335* Fri Mar 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3934.git94b0ad8e.2
336- vhost numa code causes crashes, disable until upstream fixes
337
338* Fri Mar 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3934.git94b0ad8e.1
339- New snapshot
340- Generalize target/machine/etc macros to enable i686 builds too
341
342* Thu Mar 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3914.git4c387fcd.2
343- Drop no longer needed -fno-strict-aliasing
344
345* Thu Mar 10 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3914.git4c387fcd.1
346- New snapshot
347
348* Mon Mar 07 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3875.git8f6f2434.1
349- New snapshot
350
351* Thu Mar 03 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3860.gitf4730aa6.1
352- New snapshot
353- Drop ip_pipeline buildopts patch, should be fixed upstream for some time now
354- Drop no longer needed -Wno-error
355
356* Wed Mar 02 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3853.git948fd64b.1
357- New snapshot
358- Adapt to upstream accepting the linker script approach, yay
359
360* Tue Mar 01 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3850.git9ec201f5.1
361- New snapshot
362
363* Mon Feb 29 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3843.gita3af38a1.1
364- New snapshot
365
366* Thu Feb 18 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3809.git9fd72e3c.1
367- New snapshot
368- Temporarily disable strict aliasing to appease gcc 6
369- Enable parallel build again
370
371* Mon Feb 15 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3790.git5fa83b53.2
372- Disable unmaintained librte_power as per upstream recommendation
373
374* Fri Feb 12 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3790.git5fa83b53.1
375- New snapshot
376
377* Thu Feb 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3783.git50810f09.2
378- Temporarily disable -Werror due to many new warnings from gcc 6
379
380* Thu Feb 11 2016 Panu Matilainen <pmatilai@redhat.com> - 16.04.0-0.3783.git50810f09.1
381- New snapshot, with new upstream versioning scheme
382
383* Fri Jan 29 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3759.gitdd34ff1f.1
384- New snapshot
385
386* Thu Jan 28 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3757.git2593612d.1
387- New snapshot
388
389* Wed Jan 27 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3746.gitc7985de0.1
390- New snapshot
391- Use a different quoting method to avoid messing up vim syntax highlighting
392- A string is expected as CONFIG_RTE_MACHINE value, quote it too
393
394* Tue Jan 19 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3742.gitff82e08a.2
395- Enable librte_vhost NUMA-awareness
396
397* Mon Jan 18 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3742.gitff82e08a.1
398- New snapshot
399
400* Wed Jan 13 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.3
401- Fix extra junk being generated in profile.d
402- Never include setup.sh
403
404* Thu Jan 07 2016 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.2
405- Make option matching stricter in spec setconf
406
407* Fri Dec 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.3.0-0.3725.git3b60ce8c.1
408- New 2.3-pre snapshot
409
410* Wed Dec 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-1
411- Update to DPDK 2.2.0 final
412
413* Tue Dec 15 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3711.git728c9e54-1
414- New snapshot
415
416* Mon Dec 14 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3688.gitbc31261c-2
417- Fixup target machine mismatch in profile.d environment
418- Fixup installed dpdk-devel affecting "make install" result
419- Add README and MAINTAINERS docs
420
421* Mon Dec 14 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3688.gitbc31261c-1
422- New snapshot (2.2.0-rc4)
423
424* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-4
425- Fix relpath.sh bug causing broken symlinks
426
427* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-3
428- Adopt new upstream standard installation layout
429
430* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-2
431- Define + use a local macro for include dir location
432- Group our directory macros together
433- Fix static (ie --without shared) build
434
435* Fri Dec 11 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3637.gitb700090c-1
436- New snapshot
437
438* Thu Dec 10 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3624.git1befe9ca-1
439- New snapshot
440- More complete dtneeded patch which should fixes build on rawhide
441
442* Tue Dec 08 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3614.git2616f497-1
443- New snapshot (2.2.0-rc3)
444
445* Mon Dec 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3593.git3f3d6010-1
446- New snapshot with fixed ip_pipeline
447
448* Mon Dec 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3592.git13318bbb-1
449- New snapshot
450- ip_pipeline example is broken, disable temporarily
451- upstream introduced new complications wrt our warning flags, adjust patches...
452
453* Mon Nov 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3504.git538020aa
454- New snapshot
455
456* Thu Nov 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3496.git84fb2e67.1
457- New snapshot (2.2.0-rc2)
458- Disable experimental cryptodev library
459
460* Wed Nov 25 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3463.git61383240.1
461- New snapshot
462- Disable CONFIG_RTE_SCHED_VECTOR, it conflicts with CONFIG_RTE_MACHINE default
463
464* Tue Nov 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3424.git4522eca1.1
465- New snapshot
466
467* Fri Nov 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3399.gite64833f2.1
468- New snapshot
469
470* Thu Nov 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3394.git4c02e453.1
471- New snapshot
472
473* Wed Nov 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.3
474- Make driver links to the actual pmd dso's, not their -devel symlinks
475
476* Wed Nov 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.2
477- Make plugin loading filesystem agnostic, sigh
478- Fix missing symbol export
479
480* Mon Nov 16 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3371.git2d123257.1
481- New snapshot
482
483* Fri Nov 13 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3329.git695ae278.1
484- New snapshot
485- Move the unversioned pmd symlinks from libdir -devel
486- Establish a driver directory for automatic driver loading
487
488* Wed Nov 04 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3321.gitc4d404d7.1
489- New snapshot (2.2.0-rc1)
490
491* Wed Nov 04 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3306.git4b90a3ff.1
492- New snapshot
493- Drop librte_kni afterall, makes no sense without the kernel module
494- Drop main package dependency from -tools, its not strictly needed
495
496* Mon Nov 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3216.gitab3257e1.1
497- New snapshot
498
499* Fri Oct 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3141.git92e689ce.1
500- New snapshot
501- Fix vhost-user segfault with multiqueue
502
503* Wed Oct 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3111.git4c8db5f0.1
504- New snapshot
505
506* Tue Oct 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3076.git19d4d7ef.1
507- New snapshot
508
509* Mon Oct 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3064.gitfaefe229.1
510- New snapshot
511
512* Wed Oct 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.3049.gitce8e1218.1
513- New snapshot
514- Enable bnx2x pmd, which buildrequires zlib-devel
515
516* Tue Sep 29 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2955.git9702b2b5.3
517- Oops, rename our linker script to match current upstream
518
519* Mon Sep 28 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2955.git9702b2b5
520- New snapshot
521- Make lib and include available both ways in the SDK paths
522
523* Mon Sep 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.2.0-0.2947.gitc36a82f0
524- New snapshot
525
526* Tue Aug 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-1
527- Update to dpdk 2.1.0 final
528
529* Wed Aug 12 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2898.gitf1e779ec
530- New snapshot
531- Disable ABI_NEXT
532- Rebase patches as necessary
533- Fix build of ip_pipeline example
534- Drop no longer needed -Wno-error=array-bounds
535- Enable librte_kni build but disable the kernel module
536
537* Tue Jun 23 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2429.gitc6a0fb5f
538- New snapshot
539
540* Mon Jun 22 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2395.git1c2bbcdf
541- New snapshot
542
543* Wed Jun 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2367.git790aa264
544- New snapshot
545
546* Mon Jun 15 2015 Panu Matilainen <pmatilai@redhat.com> - 2.1.0-0.2320.gitc76ee0d0
547- Update to pre-2.1.0 snapshot
548
549* Wed Jun 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-9
550- Really enable example apps on the copr repos
551
552* Wed Jun 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-8
553- Re-enable example apps on the copr repos
554
555* Tue May 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-7
556- Drop pointless build conditional, the linker script is here to stay
557- Drop vhost-cuse build conditional, vhost-user is here to stay
558- Cleanup comments a bit
559- Enable parallel build again
560- Dont build examples by default
561
562* Thu Apr 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-6
563- Fix potential hang and thread issues with VFIO eventfd
564
565* Fri Apr 24 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-5
566- Fix a potential hang due to missed interrupt in vhost library
567
568* Tue Apr 21 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-4
569- Drop unused pre-2.0 era patches
570- Handle vhost-user/cuse selection automatically based on the copr repo name
571
572* Fri Apr 17 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-3
573- Dont depend on fuse when built for vhost-user support
574- Drop version from testpmd binary, we wont be parallel-installing that
575
576* Thu Apr 09 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-2
577- Remove the broken kmod stuff
578- Add a new dkms-based eventfd_link subpackage if vhost-cuse is enabled
579
580* Tue Apr 07 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-1
581- Update to 2.0 final (http://dpdk.org/doc/guides-2.0/rel_notes/index.html)
582
583* Thu Apr 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2086.git263333bb.2
584- Switch (back) to vhost-user, thus disabling vhost-cuse support
585- Build requires fuse-devel for now even when fuse is unused
586
587* Mon Mar 30 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2049.git2f95a470.1
588- New snapshot
589- Add spec option for enabling vhost-user instead of vhost-cuse
590- Build requires fuse-devel only with vhost-cuse
591- Add virtual provide for vhost user/cuse tracking
592
593* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.3
594- Disable vhost-user for now to get vhost-cuse support, argh.
595
596* Fri Mar 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.2
597- Add a bunch of missing dependencies to -tools
598
599* Thu Mar 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2038.git91a8743e.1
600- Another day, another snapshot
601- Disable IVSHMEM support for now
602
603* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.2
604- Dont fail build for array bounds warnings for now, gcc 5 is emitting a bunch
605
606* Fri Mar 20 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.2022.gitfe4810a0.1
607- Another day, another snapshot
608- Avoid building pdf docs
609
610* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.2
611- Add missing dependency to tools -subpackage
612
613* Tue Mar 03 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1916.gita001589e.1
614- New snapshot
615- Work around #1198009
616
617* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.2
618- Optionally package tools too, some binding script is needed for many setups
619
620* Mon Mar 02 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1911.gitffc468ff.1
621- New snapshot
622- Disable kernel module build by default
623- Add patch to fix missing defines/includes for external applications
624
625* Fri Feb 27 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1906.git00c68563.1
626- New snapshot
627- Remove bogus devname module alias from eventfd-link module
628- Whack evenfd-link to honor RTE_KERNELDIR too
629
630* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.3
631- Add spec option to build kernel modules too
632- Build eventfd-link module too if kernel modules enabled
633
634* Thu Feb 26 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1903.gitb67578cc.2
635- Move config changes from spec after "make config" to simplify things
636- Move config changes from dpdk-config patch to the spec
637
638* Thu Feb 19 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1717.gitd3aa5274.2
639- Fix warnings tripping up build with gcc 5, remove -Wno-error
640
641* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1698.gitc07691ae.1
642- Move the unversioned .so links for plugins into main package
643- New snapshot
644
645* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.3
646- Fix missing symbol export for rte_eal_iopl_init()
647- Only mention libs once in the linker script
648
649* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.2
650- Fix gcc version logic to work with 5.0 too
651
652* Wed Feb 18 2015 Panu Matilainen <pmatilai@redhat.com> - 2.0.0-0.1695.gitc2ce3924.1
653- Add spec magic to easily switch between stable and snapshot versions
654- Add tarball snapshot script for reference
655- Update to pre-2.0 git snapshot
656
657* Thu Feb 12 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-15
658- Disable -Werror, this is not useful behavior for released versions
659
660* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-14
661- Fix typo causing librte_vhost missing DT_NEEDED on fuse
662
663* Wed Feb 11 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-13
664- Fix vhost library linkage
665- Add spec option to build example applications, enable by default
666
667* Fri Feb 06 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-12
668- Enable librte_acl build
669- Enable librte_ivshmem build
670
671* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-11
672- Drop the private libdir, not needed with versioned libs
673
674* Thu Feb 05 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-10
675- Drop symbol versioning patches, always do library version for shared
676- Add comment on the combined library thing
677
678* Wed Feb 04 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-9
679- Add missing symbol version to librte_cmdline
680
681* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-8
682- Set soname of the shared libraries
683- Fixup typo in ld path config file name
684
685* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-7
686- Add library versioning patches as another build option, enable by default
687
688* Tue Feb 03 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-6
689- Add our libraries to ld path & run ldconfig when using shared libs
690
691* Fri Jan 30 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-5
692- Add DT_NEEDED for external dependencies (pcap, fuse, dl, pthread)
693- Enable combined library creation, needed for OVS
694- Enable shared library creation, needed for sanity
695
696* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-4
697- Include scripts directory in the "sdk" too
698
699* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-3
700- Fix -Wformat clash preventing i40e driver build, enable it
701- Fix -Wall clash preventing enic driver build, enable it
702
703* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-2
704- Enable librte_vhost, which buildrequires fuse-devel
705- Enable physical NIC drivers that build (e1000, ixgbe) for VFIO use
706
707* Thu Jan 29 2015 Panu Matilainen <pmatilai@redhat.com> - 1.8.0-1
708- Update to 1.8.0
709
710* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-8
711- Always build with -fPIC
712
713* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-7
714- Policy compliance: move static libraries to -devel, provide dpdk-static
715- Add a spec option to build as shared libraries
716
717* Wed Jan 28 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-6
718- Avoid variable expansion in the spec here-documents during build
719- Drop now unnecessary debug flags patch
720- Add a spec option to build a combined library
721
722* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-5
723- Avoid unnecessary use of %%global, lazy expansion is normally better
724- Drop unused destdir macro while at it
725- Arrange for RTE_SDK environment + directory layout expected by DPDK apps
726- Drop config from main package, it shouldn't be needed at runtime
727
728* Tue Jan 27 2015 Panu Matilainen <pmatilai@redhat.com> - 1.7.0-4
729- Copy the headers instead of broken symlinks into -devel package
730- Force sane mode on the headers
731- Avoid unnecessary %%exclude by not copying unpackaged content to buildroot
732- Clean up summaries and descriptions
733- Drop unnecessary kernel-devel BR, we are not building kernel modules
734
735* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
736- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
737
738* Thu Jul 17 2014 - John W. Linville <linville@redhat.com> - 1.7.0-2
739- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
740- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
741- Turn-off build of librte_acl, since it does not build on default machines
742- Turn-off build of physical device PMDs that require kernel support
743- Clean-up the install rules to match current packaging
744- Correct changelog versions 1.0.7 -> 1.7.0
745- Remove ix86 from ExclusiveArch -- it does not build with above changes
746
747* Thu Jul 10 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-1.0
748- Update source to official 1.7.0 release
749
750* Thu Jul 03 2014 - Neil Horman <nhorman@tuxdriver.com>
751- Fixing up release numbering
752
753* Tue Jul 01 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.1.20140603git5ebbb1728
754- Fixed some build errors (empty debuginfo, bad 32 bit build)
755
756* Wed Jun 11 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.9.20140603git5ebbb1728
757- Fix another build dependency
758
759* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.8.20140603git5ebbb1728
760- Fixed doc arch versioning issue
761
762* Mon Jun 09 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.7.20140603git5ebbb1728
763- Added verbose output to build
764
765* Tue May 13 2014 - Neil Horman <nhorman@tuxdriver.com> - 1.7.0-0.6.20140603git5ebbb1728
766- Initial Build
767