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