ethdev: update extending stats strings
[dpdk.git] / doc / guides / rel_notes / release_2_2.rst
1 DPDK Release 2.2
2 ================
3
4 New Features
5 ------------
6
7 * **Extended Statistics**
8
9   Define extended statistics naming scheme to store metadata in the name
10   string name of each statistic, refer to the Extended Statistics section
11   of the programmers guide. Implemented the extended stats API for these
12   PMDs:
13
14
15 * **Added API in ethdev to retrieve RX/TX queue information.**
16
17   *  Add the ability for the upper layer to query RX/TX queue information.
18   *  Add into rte_eth_dev_info new fields to represent information about
19      RX/TX descriptors min/max/align numbers per queue for the device.
20
21 * **Added RSS dynamic configuration to bonding.**
22
23 * **Added e1000 Rx interrupt support.**
24
25 * **Added igb TSO support for both PF and VF.**
26
27 * **RSS enhancement on Intel x550 NIC**
28
29   * Support 512 entries RSS redirection table.
30   * Support per VF RSS redirection table.
31
32 * **Flow director enhancement on Intel x550 NIC**
33
34   * Add 2 new flow director modes on x550.
35   * One is MAC VLAN mode, the other is tunnel mode.
36
37 * **Added i40e vector RX/TX.**
38
39 * **Added i40e flow control support.**
40
41 * **Added DCB support to i40e PF driver.**
42
43 * **Added fm10k vector RX/TX.**
44
45 * **Added fm10k TSO support for both PF and VF.**
46
47 * **Added fm10k VMDQ support.**
48
49 * **New NIC Boulder Rapid support.**
50
51   Boulder Rapid is a new NIC of Intel's fm10k family.
52
53 * **Enhanced support for the Chelsio CXGBE driver.**
54
55   *  Added support for Jumbo Frames.
56   *  Optimize forwarding performance for Chelsio T5 40GbE cards.
57
58 * **Added support for Mellanox ConnectX-4 adapters (mlx5).**
59
60   The mlx5 poll-mode driver implements support for Mellanox ConnectX-4 EN
61   and Mellanox ConnectX-4 Lx EN families of 10/25/40/50/100 Gb/s adapters.
62
63   Like mlx4, this PMD is only available for Linux and is disabled by default
64   due to external dependencies (libibverbs and libmlx5).
65
66 * **Enhanced support for virtio driver.**
67
68   * Virtio ring layout optimization (fixed avail ring)
69   * Vector RX
70   * Simple TX
71
72 * **Added vhost-user multiple queue support.**
73
74 * **Added port hotplug support to xenvirt.**
75
76
77 Resolved Issues
78 ---------------
79
80 EAL
81 ~~~
82
83 * **eal/linux: Fixed epoll timeout.**
84
85   Fixed issue where the ``rte_epoll_wait()`` function didn't return when the
86   underlying call to ``epoll_wait()`` timed out.
87
88
89 Drivers
90 ~~~~~~~
91
92 * **igb: Fixed IEEE1588 frame identification in I210.**
93
94   Fixed issue where the flag PKT_RX_IEEE1588_PTP was not being set
95   in Intel I210 NIC, as EtherType in RX descriptor is in bits 8:10 of
96   Packet Type and not in the default bits 0:2.
97
98 * **ixgbe: Fixed issue with X550 DCB.**
99
100   Fixed a DCB issue with x550 where for 8 TCs (Traffic Classes), if a packet
101   with user priority 6 or 7 was injected to the NIC, then the NIC would only
102   put 3 packets into the queue. There was also a similar issue for 4 TCs.
103
104 * **ixgbe: Removed burst size restriction of vector RX.**
105
106   Fixed issue where a burst size less than 32 didn't receive anything.
107
108 * **i40e: Fixed base driver allocation when not using first numa node.**
109
110   Fixed i40e issue that occurred when a DPDK application didn't initialize
111   ports if memory wasn't available on socket 0.
112
113 * **vhost: Fixed Qemu shutdown.**
114
115   Fixed issue with libvirt ``virsh destroy`` not killing the VM.
116
117 * **virtio: Fixed crash after changing link state.**
118
119   Fixed io permission in the interrupt handler.
120
121 * **virtio: Fixed crash when releasing queue.**
122
123   Fixed issue when releasing null control queue.
124
125
126 Libraries
127 ~~~~~~~~~
128
129 * **hash: Fixed memory allocation of Cuckoo Hash key table.**
130
131   Fixed issue where an incorrect Cuckoo Hash key table size could be
132   calculated limiting the size to 4GB.
133
134
135 Examples
136 ~~~~~~~~
137
138
139 Other
140 ~~~~~
141
142
143 Known Issues
144 ------------
145
146
147 API Changes
148 -----------
149
150 * The deprecated flow director API is removed.
151   It was replaced by rte_eth_dev_filter_ctrl().
152
153 * The dcb_queue is renamed to dcb_tc in following dcb configuration
154   structures: rte_eth_dcb_rx_conf, rte_eth_dcb_tx_conf,
155   rte_eth_vmdq_dcb_conf, rte_eth_vmdq_dcb_tx_conf.
156
157 * The function rte_eal_pci_close_one() is removed.
158   It was replaced by rte_eal_pci_detach().
159
160 * The deprecated ACL API ipv4vlan is removed.
161
162 * The deprecated hash function rte_jhash2() is removed.
163   It was replaced by rte_jhash_32b().
164
165 * The deprecated KNI functions are removed:
166   rte_kni_create(), rte_kni_get_port_id() and rte_kni_info_get().
167
168 * The deprecated ring PMD functions are removed:
169   rte_eth_ring_pair_create() and rte_eth_ring_pair_attach().
170
171 * The devargs union field virtual is renamed to virt for C++ compatibility.
172
173
174 ABI Changes
175 -----------
176
177 * The EAL and ethdev structures rte_intr_handle and rte_eth_conf were changed
178   to support Rx interrupt. It was already done in 2.1 for CONFIG_RTE_NEXT_ABI.
179
180 * The ethdev flow director entries for SCTP were changed.
181   It was already done in 2.1 for CONFIG_RTE_NEXT_ABI.
182
183 * The new fields rx_desc_lim and tx_desc_lim are added into rte_eth_dev_info
184   structure.
185
186 * The mbuf structure was changed to support unified packet type.
187   It was already done in 2.1 for CONFIG_RTE_NEXT_ABI.
188
189 * The dummy malloc library is removed. The content was moved into EAL in 2.1.
190
191 * The LPM structure is changed. The deprecated field mem_location is removed.
192
193 * librte_table LPM: A new parameter to hold the table name will be added to
194   the LPM table parameter structure.
195
196 * librte_port: Macros to access the packet meta-data stored within the packet
197   buffer has been adjusted to cover the packet mbuf structure.
198
199 * librte_cfgfile: Allow longer names and values by increasing the constants
200   CFG_NAME_LEN and CFG_VALUE_LEN to 64 and 256 respectively.
201
202
203 Shared Library Versions
204 -----------------------
205
206 The libraries prepended with a plus sign were incremented in this version.
207
208 .. code-block:: diff
209
210    + libethdev.so.2
211    + librte_acl.so.2
212    + librte_cfgfile.so.2
213      librte_cmdline.so.1
214      librte_distributor.so.1
215    + librte_eal.so.2
216    + librte_hash.so.2
217      librte_ip_frag.so.1
218      librte_ivshmem.so.1
219      librte_jobstats.so.1
220    + librte_kni.so.2
221      librte_kvargs.so.1
222    + librte_lpm.so.2
223    + librte_mbuf.so.2
224      librte_mempool.so.1
225      librte_meter.so.1
226      librte_pipeline.so.1
227      librte_pmd_bond.so.1
228    + librte_pmd_ring.so.2
229    + librte_port.so.2
230      librte_power.so.1
231      librte_reorder.so.1
232      librte_ring.so.1
233      librte_sched.so.1
234    + librte_table.so.2
235      librte_timer.so.1
236      librte_vhost.so.1