changelog: use dpkg-buildflags and properly enable hardening
[deb_dpdk.git] / debian / changelog
1 dpdk (16.04-1) UNRELEASED; urgency=medium
2
3   [ Christian Ehrhardt ]
4   * Merge with upstream DPDK 16.04 release
5   * droping patches/backports that are already upstream in DPDK 16.04
6     - d/p/ubuntu-fix-doc-installpath.patch
7     - d/p/ubuntu-fix-testpmd-without-xen.patch
8     - d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch
9     - d/p/ubuntu-backport-[01-32,34-35] backports for stability
10     - d/p/ubuntu-backport-[36-37] but keep doc and example changes in d/*
11   * droping patches for soname / linking fixups.
12     - Upstream now goes with proper soname/abi/api handling per sublib plus a
13       linker script.
14     - dropped d/p/ubuntu-combined-shared-lib-abiversion.patch
15     - dropped d/p/ubuntu-fix-library-linkage.patch
16   * keeping patches:
17     - d/p/ubuntu-backport-38-* fix for memory leak
18       this now applies as is, so changed from a modified backport to match the
19       post 16.04 upstream commit now.
20     - d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
21     - doc and example changes that were related to d/p/ubuntu-backport-[36-37]
22     - d/p/ubuntu-fix-vhost-user-socket-permission.patch adapted for dpdk-16.04:
23       In the new build system with sublibs the exposed function needs to be
24       listed in lib/librte_eal/linuxapp/eal/rte_eal_version.map
25   * adding upstream backports - can be dropped when merging DPDK 16.07.
26     - d/p/ubuntu-backport-39-lpm-fix-freeing-in-compatibility-mode.patch
27       This was formerly part of a combined patch that we dropped because the
28       majority is upstream (d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch).
29     - d/p/ubuntu-backport-40-linking-fixes-stage-[1-4]-4.patch
30       d/p/ubuntu-backport-44-linking-cleanup.patch
31       Fixing underlinking and overlinking issues in apps and libraries.
32     - d/p/ubuntu-backport-41-fix-install-tar-1.29.patch
33       Fix issues with tar >=1.29 (Yakkety)
34     - d/p/ubuntu-backport-43-increase-default-logging-level.patch
35       avoid default debug messages causing a perf degradation
36     - d/p/ubuntu-backport-43-fix-level-type-retrieving.patch
37       Fix type retrieving which was broken in standard threads
38   * adapt to new build system
39     - drop enabling the following build config symbols as they no more exist
40         CONFIG_RTE_BUILD_COMBINE_LIBS
41     - Sub-Libraries are now packaged in a versioned package per library. That
42       allows consumers of dpdk to just depend on what they need. As well as
43       installation of multiple .so versions concurrently.
44     - added the hidden dependency of librte_eal to librte_mempool
45     - use dpkg-buildflags and properly enable hardening
46   * Adding DKMS package for rte_kni (LP: #1592786)
47
48   [ Ricardo Salveti ]
49   * Adding support for ARM64:
50     - debian/control: adding arm64 to the supported architecture list
51     - debian/rules: supporting dpdk config and machine for arm64
52     - d/p/ubuntu-fix-xenvirt-support-dynamic-page-size.patch: fix build
53       failure on arm64
54     - debian/dpdk-sdk-env.sh: generating the right RTE_TARGET during build
55       time, so we can also make it compatible with ARM64
56     - debian/tests: also making tests compatible with ARM64
57   * Adding DKMS package for igb_uio
58   * Build static dpdk with -fPIC so it can be used by shared libraries
59   * debian/copyright: fixing Canonical's copyright entry
60   * Renaming symbol files so they can match the right package
61   * Drop the arch specific symbol files, as they are identical
62
63   [ Anders Roxell ]
64   * debian/dpdk.init: add remote_fs (lintian)
65   * debian/control: fixing week-library-dev-dependency (lintian)
66
67  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 17 May 2016 14:23:21 +0200
68
69 dpdk (2.2.0-0ubuntu9) yakkety; urgency=medium
70
71   * d/p/ubuntu-backport-[36-37] fix virtio issues (LP: #1570195):
72     - don't let DPDK initialize virtio devices still in use by the kernel
73     - this avoids conflicts between kernel and dpdk usage of those devices
74     - an admin now has to unbind/bind devices as on physical hardware
75     - this is in the dpdk 16.04 release and delta can then be dropped
76     - d/dpdk-doc.README.Debian update for changes in virtio-pci handling
77     - d/dpdk.interfaces update for changes in virtio-pci handling
78   * d/p/ubuntu-backport-38... fix for memory leak (LP: #1570466):
79     - call vhost_destroy_device on removing vhost user ports to fix memory leak
80     - this likely is in the dpdk 16.07 release and delta can then be dropped
81   * d/p/ubuntu-fix-vhost-user-socket-permission.patch fox (LP: #1546565):
82     - when vhost_user sockets are created they are owner:group of the process
83     - the DPDK api to create those has no way to specify owner:group
84     - to fix that without breaking the API and potential workaround code in
85       consumers of the library like openvswitch 2.6 for example. This patch
86       adds an EAL commandline option to specify user:group created vhost_user
87       sockets should have.
88
89  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 27 Apr 2016 07:52:48 -0500
90
91 dpdk (2.2.0-0ubuntu7) xenial; urgency=medium
92
93   * Increase max_map_count after setting huge pages (LP: #1507921):
94     - The default config of 65530 would cause issues as soon as about 64GB or
95       more are used as 2M huge pages for dpdk.
96     - Increase this value to base+2*#hugepages to avoid issues on huge systems.
97   * d/p/ubuntu-backport-[28-32,34-35] backports for stability (LP: #1568838):
98      - these will be in the 16.04 dpdk release, delta can then be dropped.
99      - 5 fixes that do not change api/behaviour but fix serious issues.
100         - 01 f82f705b lpm: fix allocation of an existing object
101         - 02 f9bd3342 hash: fix multi-process support
102         - 03 1aadacb5 hash: fix allocation of an existing object
103         - 04 5d7bfb73 hash: fix race condition at creation
104         - 05 fe671356 vfio: fix resource leak
105         - 06 356445f9 port: fix ring writer buffer overflow
106         - 07 52f7a5ae port: fix burst size mask type
107   * d/p/ubuntu-backport-33-vhost-user-add-error-handling-for-fd-1023.patch
108      - this will likely be in dpdk release 16.07 and delta can then be dropped.
109      - fixes a crash on using fd's >1023 (LP: #1566874)
110   * d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch fix lpm_free (LP: #1569375)
111      - the old patches had an error freeing a pointer which had no meta data
112      - that lead to a crash on any lpm_free call
113      - folded into the fix that generally covers the lpm allocation and free
114        weaknesses already (also there this particular mistake was added)
115
116  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Tue, 12 Apr 2016 16:13:47 +0200
117
118 dpdk (2.2.0-0ubuntu6) xenial; urgency=medium
119
120   * d/dpdk-init fix handling of multiple huge page sizes (LP: #1557532):
121      - dpdk-init now ensures non-default-hugepage-size mountpoints are
122        available as well.
123      - extra mountpoints are only created if requested in dpdk.conf and not yet
124        available (e.g. by the admin).
125   * d/dpdk-init fix issues with unassigned devices (LP: #1558485):
126      - dpdk-init no more checks /sys/.../driver of the device unconditionally
127      - removed the superfluous tr call in that path
128   * d/p/ubuntu-fix-lpm-use-after-free-and-leak.patch lpm/lpm6 (LP: #1554009):
129      - lpm/lpm6 fix use after free on lpm[6]_create
130      - lpm/lpm6 fix missing frees of rules_tbl substructure
131      - lpm/lpm6 fix missing free of lpm due to early exit
132      - make RTE_LOG messages of the failed allocation unique
133   * d/p/ubuntu-backport-[01-26] backport for stability (LP: #1559981):
134      - these will be in the following dpdk release and delta can then be dropped
135      - 26 fixes that do not change api/behaviour but fix serious issues
136         - 01 d3a274ce app/testpmd: handle SIGINT and SIGTERM
137         - 02 308df2bf Handle SIGINT and SIGTERM in l3fwd.
138         - 03 da82ee17 tools: fix unbinding failure handling
139         - 04 16c1814c tools: support Python 3 in bind script
140         - 05 bb9f4085 tools: support binding to built-in kernel modules
141         - 06 6e7caa1a eal/linux: support built-in kernel modules
142         - 07 86f36ff9 mempool: fix leak when creation fails
143         - 08 ca67ed28 vhost: fix leak of fds and mmaps
144         - 09 fa11a8a7 port: fix crash for ring writer nodrop
145         - 10 04f36690 port: fix crash for ethdev writer nodrop
146         - 11 c7a4ff80 i40e: fix overflow
147         - 12 097e920c i40e: fix inverted check for no refcount
148         - 13 330aa319 i40e: fix VLAN filtering
149         - 14 9f44dd3d i40e/base: fix missing check for stopped admin queue
150         - 15 8a880736 i40e/base: fix driver load failure
151         - 16 7656a546 fm10k: fix VLAN flag in scattered Rx
152         - 17 c6fb0e55 pcap: fix captured frame length
153         - 18 6e027237 bonding: fix detach of bonded device
154         - 19 df3e8ad7 bonding: fix detach of slave devices
155         - 20 786c990a bonding: copy entire config structure in mode 4
156         - 21 6698820b bonding: do not ignore multicast in mode 4
157         - 22 8997a10b bonding: fix active slaves with no primary
158         - 23 7a7122ed bonding: do not activate slave twice
159         - 24 2186fff3 bonding: fix crash when no slave device
160         - 25 c680a4a8 virtio: fix crash in statistics functions
161         - 26 3b1e3e4e virtio: fix descriptors pointing to the same buffer
162   * d/p/ubuntu-backport-27-virtio-fix-restart.patch for (LP: #1559981):
163      - fixing re-initializing the ethdev as openvswitch-dpdk does in the
164        virtio pmd driver by moving the detection of already being initialized
165        from virtio_dev_close to virtio_dev_start/stop
166      - this will be in the following dpdk release and delta can then be dropped
167   * d/rules build with debuginfo (LP: #1560839):
168      - exporting CFLAGS for all dpdk build processes
169      - dh_strip will automatically and create -dbgsym packages accordingly
170
171  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 23 Mar 2016 10:34:50 +0100
172
173 dpdk (2.2.0-0ubuntu5) xenial; urgency=medium
174
175   * d/t/test-initscripts fix issues regarding 1G hugepages
176      - the dep8 was already taking care of 1G hugepages being not supported in
177        some environments. But it was failing when supported, but not enough
178        memory available.
179
180  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 09 Mar 2016 17:19:24 +0000
181
182 dpdk (2.2.0-0ubuntu4) xenial; urgency=medium
183
184   * harden d/dpdk-init for configuration issues (LP: #1551601):
185      - detect and warn about bad bus specifications.
186      - detect and warn about incomplete device specifications.
187      - detect and warn about non existing pci IDs.
188      - avoid failing when working with unassigned devices.
189      - d/t/test-initscripts now testing various misconfigs.
190      - d/t/test-initscripts now also verifying service status.
191   * d/dpdk-init d/dpdk.conf now also support 1G hugepages (LP: #1551767):
192      - detect and warn if 1G pages are not available but configured.
193      - d/t/test-initscripts now also testing hugepage allocations.
194      - d/dpdk.conf has an option to drop caches to incease the likeliness of
195        successful 1G hugepage allocations (default off).
196   * d/rules replaced uname -m with DEB_HOST_GNU_CPU (LP: #1551796):
197   * fix testpmd to run without Xen environment (LP: #1551752):
198      - upstream discussion is slow, but we need a fix now. We can drop this
199        and change to the upstream solution when it is available.
200   * avoid errors due to missing modules (LP: #1554397):
201      - d/dpdk-init gracefully warns about missing modules.
202      - d/control now suggests linux-image-generic.
203      - d/dpdk.interfaces has a comment that makes the user aware.
204   * d/dpdk-init fix failure loading vfio-pci (LP: #1554214):
205      - d/dpdk-init no more converts "-" to "_" to make vfio-pci work
206      - d/dpdk.interfaces enhanced comments and updated examples
207      - d/dpdk-doc.README.debian got extra notes about using some modules
208   * unify whitespace/tabs in packaging and scripts
209      - tabs/spaces to just spaces in d/dpdk-init and d/dpdk.init.
210      - few remaining spaces to tabs in d/rules
211   * d/t/test-* now satisfy shellcheck
212   * d/* fix various comments and guides to be more readable
213   * d/dpdk-init and d/copyright updated copyright information
214
215  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 09 Mar 2016 08:48:58 +0000
216
217 dpdk (2.2.0-0ubuntu3) xenial; urgency=medium
218
219   * Guard dep8 tests against non supported platforms (LP: #1551158):
220     - d/t/control now avoids failing due to "dependencies are unsatisfiable"
221       when fetching packages. The packages architecture restrictions got added
222       to avoid that.
223     - d/t/check-dpdk-supported-arch.sh is called by all DPDK tests to ensure
224       the platform is supported. If not it skips the test.
225
226  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Mon, 29 Feb 2016 11:03:39 +0000
227
228 dpdk (2.2.0-0ubuntu2) xenial; urgency=medium
229
230   [ Christian Ehrhardt ]
231   * fix libdpdk.so library linking (LP: #1547517)
232     - libdpdk.so now has proper linkage information (was underlinked)
233       Note: this can be dropped when moving to DPDK 2.3 with linker script
234             instead of combined shared lib.
235     - remove reference to extra linkage needed when building against -ldpdk
236       in dpdk-doc README.
237     - add dep8 d/t/test-linkage to verify linking dpdk works as expected.
238   * d/control remove ${shlibs:Depends} on package with no linked binary
239     avoiding dpkg-gencontrol build warning about unknown ${shlibs:Depends}.
240   * d/dpdk-doc.README.debian fix path to DPDK build environment variable
241     helper script in README file.
242   * Update VCS Info in d/control to include our repositories.
243
244   [  James Page ]
245   * d/*: wrap-and-sort.
246   * d/control: Trim trailing whitespace.
247
248  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Thu, 25 Feb 2016 16:07:21 +0000
249
250 dpdk (2.2.0-0ubuntu1) xenial; urgency=low
251
252   * Merge from Upstream to DPDK 2.2
253     Remaining changes:
254     - Set soabi for the combined shared library
255   * Drop changes:
256     - configuring RTE_LIBNAME to dpdk as it is the upstream default now
257     - enabled formerly non building components as they build properly in 2.2
258     - d/p/ubunut-avoid-texlive-fonts-extra, d/control:
259       Replace use of DejaVuSansMono is no more needed as upstream changed the
260       font. Thereby we can drop our delta.
261     - d/p/ubuntu-fix-gcc5-ftbs.patch no more needed with DPDK 2.2
262   * Added changes
263     - Disable CONFIG_RTE_NEXT_ABI as required for packaging (git 506f51cc)
264     - Enable LIBRTE_PMD_PCAP which is useful for some DPDK testcase examples
265       this adds a build dependency to libpcap-dev
266     - Fully support DH_VERBOSE for build debugging convenience
267     - adapt to new make infrastructure of dpdk 2.2
268     - d/README.debian: convert into d/dpdk-doc.README.debian
269     - d/dpdk-doc.README.debian: update recommendations about sdk env variables
270     - d/dpdk-sdk-env.sh: now deployed in /usr/share/dpdk to be opt in
271     - enable XEN support for dpdk (LP: #1521289).
272
273  -- Christian Ehrhardt <christian.ehrhardt@canonical.com>  Wed, 17 Feb 2016 09:29:28 +0100
274
275 dpdk (2.0.0-0ubuntu3) xenial; urgency=medium
276
277   * Only generate HTML documentation, easing backports to 14.04 and
278     reducing the time to build and size of the -doc package (LP: #1524700).
279
280  -- James Page <james.page@ubuntu.com>  Thu, 10 Dec 2015 10:23:51 +0000
281
282 dpdk (2.0.0-0ubuntu2) xenial; urgency=low
283
284   * d/p/ubunut-avoid-texlive-fonts-extra, d/control:
285     Replace use of DejaVuSansMono by courier and drop dependency on the
286     texlive-fonts-extra package (which is in universe).
287   * d/watch added to allow use of uscan to check for upstream releases.
288   * d/dpdk-init: fix error if bash variables could not be resolved that
289     appeared as "[: -gt: unexpected operator" (had no functional impact)
290   * d/dpdk-init:
291     Replace use of head and cut (in /usr/bin) commands with sed (in /bin)
292     while also adding /usr/bin to the PATH used on direct /etc/init.d/dpdk
293     invocation. The PATH is only updated to be on the safe side, there
294     should be no other commands from /usr/bin used (LP: #1516543).
295   * d/t/test-mountpoint: add dep8 test to cover the issue of LP #1517075.
296   * d/dpdk-dev.install: Copy the SDK makefiles into place (LP: #1517075).
297
298  -- Stefan Bader <stefan.bader@canonical.com>  Tue, 17 Nov 2015 11:50:15 +0100
299
300 dpdk (2.0.0-0ubuntu1) wily; urgency=low
301
302   * Initial release (LP: #1487538)
303
304  -- Stefan Bader <stefan.bader@canonical.com>  Mon, 01 Jun 2015 18:46:38 +0200