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