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