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