1 ABI and API Deprecation
2 =======================
4 See the :doc:`guidelines document for details of the ABI policy </contributing/versioning>`.
5 API and ABI deprecation notices are to be posted here.
11 * Significant ABI changes are planned for struct rte_eth_dev to support up to
12 1024 queues per port. This change will be in release 2.2.
13 There is no backward compatibility planned from release 2.2.
14 All binaries will need to be rebuilt from release 2.2.
16 * The Macros RTE_HASH_BUCKET_ENTRIES_MAX and RTE_HASH_KEY_LENGTH_MAX are
17 deprecated and will be removed with version 2.2.
19 * The function rte_jhash2 is deprecated and should be removed.
21 * The field mem_location of the rte_lpm structure is deprecated and should be
22 removed as well as the macros RTE_LPM_HEAP and RTE_LPM_MEMZONE.
24 * librte_malloc library has been integrated into librte_eal. The 2.1 release
25 creates a dummy/empty malloc library to fulfill binaries with dynamic linking
26 dependencies on librte_malloc.so. Such dummy library will not be created from
27 release 2.2 so binaries will need to be rebuilt.
29 * The following fields have been deprecated in rte_eth_stats:
30 imissed, ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
31 tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff
33 * API for flow director filters has been replaced by rte_eth_dev_filter_ctrl.
34 Following old API is deprecated and will be removed with version 2.2 without
35 backward compatibility.
36 Functions: rte_eth_dev_fdir_*.
37 Structures: rte_fdir_*, rte_eth_fdir.
38 Enums: rte_l4type, rte_iptype.
40 * ABI changes are planned for struct rte_eth_fdir_flow_ext in order to support
41 flow director filtering in VF. The release 2.1 does not contain these ABI
42 changes, but release 2.2 will, and no backwards compatibility is planned.
44 * ABI changes are planned for struct rte_eth_fdir_filter and
45 rte_eth_fdir_masks in order to support new flow director modes,
46 MAC VLAN and Cloud, on x550. The MAC VLAN mode means the MAC and
47 VLAN are monitored. The Cloud mode is for VxLAN and NVGRE, and
48 the tunnel type, TNI/VNI, inner MAC and inner VLAN are monitored.
49 The release 2.2 will contain these changes without backwards compatibility.
51 * librte_kni: Functions based on port id are deprecated for a long time and
52 should be removed (rte_kni_create, rte_kni_get_port_id and rte_kni_info_get).
54 * librte_pmd_ring: The deprecated functions rte_eth_ring_pair_create and
55 rte_eth_ring_pair_attach should be removed.
57 * ABI changes are planned for struct virtio_net in order to support vhost-user
58 multiple queues feature.
59 It should be integrated in release 2.2 without backward compatibility.
61 * The scheduler hierarchy structure (rte_sched_port_hierarchy) will change to
62 allow for a larger number of subport entries.
63 The number of available traffic_classes and queues may also change.
64 The mbuf structure element for sched hierarchy will also change from a single
65 32 bit to a 64 bit structure.
67 * The scheduler statistics structure will change to allow keeping track of
70 * librte_acl: The structure rte_acl_ipv4vlan_rule is deprecated and should
71 be removed as well as the associated functions rte_acl_ipv4vlan_add_rules
72 and rte_acl_ipv4vlan_build.
74 * librte_cfgfile: In order to allow for longer names and values,
75 the value of macros CFG_NAME_LEN and CFG_NAME_VAL will be increased.
76 Most likely, the new values will be 64 and 256, respectively.
78 * librte_port: Macros to access the packet meta-data stored within the
79 packet buffer will be adjusted to cover the packet mbuf structure as well,
80 as currently they are able to access any packet buffer location except the
81 packet mbuf structure.
83 * librte_table LPM: A new parameter to hold the table name will be added to
84 the LPM table parameter structure.
86 * librte_table: New functions for table entry bulk add/delete will be added
87 to the table operations structure.
89 * librte_table hash: Key mask parameter will be added to the hash table
90 parameter structure for 8-byte key and 16-byte key extendible bucket and
93 * librte_pipeline: The prototype for the pipeline input port, output port
94 and table action handlers will be updated:
95 the pipeline parameter will be added, the packets mask parameter will be
96 either removed (for input port action handler) or made input-only.