xref: /dpdk/doc/guides/contributing/stable.rst (revision 4bec4818)
1.. stable_lts_releases:
2
3DPDK Stable Releases and Long Term Support
4==========================================
5
6This section sets out the guidelines for the DPDK Stable Releases and the DPDK
7Long Term Support releases (LTS).
8
9
10Introduction
11------------
12
13The purpose of the DPDK Stable Releases is to maintain releases of DPDK with
14backported fixes over an extended period of time. This provides downstream
15consumers of DPDK with a stable target on which to base applications or
16packages.
17
18The Long Term Support release (LTS) is a designation applied to a Stable
19Release to indicate longer term support.
20
21
22Stable Releases
23---------------
24
25Any major release of DPDK can be designated as a Stable Release if a
26maintainer volunteers to maintain it.
27
28A Stable Release is used to backport fixes from an ``N`` release back to an
29``N-1`` release, for example, from 16.11 to 16.07.
30
31The duration of a stable is one complete release cycle (3 months). It can be
32longer, up to 1 year, if a maintainer continues to support the stable branch,
33or if users supply backported fixes, however the explicit commitment should be
34for one release cycle.
35
36The release cadence is determined by the maintainer based on the number of
37bugfixes and the criticality of the bugs. Releases should be coordinated with
38the validation engineers to ensure that a tagged release has been tested.
39
40
41LTS Release
42-----------
43
44A stable release can be designated as an LTS release based on community
45agreement and a commitment from a maintainer. The current policy is that each
46year's November release will be maintained as an LTS for 2 years.
47
48The current DPDK LTS releases are 16.11 and 17.11.
49
50It is anticipated that there will be at least 4 releases per year of the LTS
51or approximately 1 every 3 months. However, the cadence can be shorter or
52longer depending on the number and criticality of the backported
53fixes. Releases should be coordinated with the validation engineers to ensure
54that a tagged release has been tested.
55
56
57What changes should be backported
58---------------------------------
59
60Backporting should be limited to bug fixes. All patches accepted on the master
61branch with a Fixes: tag should be backported to the relevant stable/LTS
62branches, unless the submitter indicates otherwise. If there are exceptions,
63they will be discussed on the mailing lists.
64
65Fixes suitable for backport should have a ``Cc: [email protected]`` tag in the
66commit message body as follows::
67
68     doc: fix some parameter description
69
70     Update the docs, fixing description of some parameter.
71
72     Fixes: abcdefgh1234 ("doc: add some parameter")
73     Cc: [email protected]
74
75     Signed-off-by: Alex Smith <[email protected]>
76
77
78Fixes not suitable for backport should not include the ``Cc: [email protected]`` tag.
79
80Features should not be backported to stable releases. It may be acceptable, in
81limited cases, to back port features for the LTS release where:
82
83* There is a justifiable use case (for example a new PMD).
84* The change is non-invasive.
85* The work of preparing the backport is done by the proposer.
86* There is support within the community.
87
88
89The Stable Mailing List
90-----------------------
91
92The Stable and LTS release are coordinated on the [email protected] mailing
93list.
94
95All fix patches to the master branch that are candidates for backporting
96should also be CCed to the `[email protected] <http://dpdk.org/ml/listinfo/stable>`_
97mailing list.
98
99
100Releasing
101---------
102
103A Stable Release will be released by:
104
105* Tagging the release with YY.MM.n (year, month, number).
106* Uploading a tarball of the release to dpdk.org.
107* Sending an announcement to the `[email protected] <http://dpdk.org/ml/listinfo/announce>`_
108  list.
109
110Stable releases are available on the `dpdk.org download page <http://dpdk.org/download>`_.
111
112
113ABI
114---
115
116The Stable Release should not be seen as a way of breaking or circumventing
117the DPDK ABI policy.
118