From: Zhiyong Yang Date: Mon, 7 Aug 2017 12:42:30 +0000 (+0800) Subject: doc: announce ethdev port id range increase X-Git-Tag: spdx-start~2192 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2a2d0d181c80279c1bcbd6892445dcaffef11783;p=dpdk.git doc: announce ethdev port id range increase This is an API/ABI change notice for DPDK 17.11 announcing the redefinition of port_id. port_id is currently defined as uint8_t, which is limited to the range 0 to 255. A larger range is required for vdev scalability. It is necessary for a redefinition of port_id to extend it from 1 bytes to 2 bytes. All ethdev APIs and usages related to port_id will be changed at the same time. Signed-off-by: Zhiyong Yang Acked-by: Jianfeng Tan Acked-by: Yuanhan Liu Acked-by: Jerin Jacob Acked-by: Remy Horton Acked-by: Shahaf Shuler --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 74e4ce4831..9a5f6b84fb 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -76,6 +76,12 @@ Deprecation Notices done by the EAL and not by the ``ethdev`` layer anymore. Users relying on this flag being present only have to remove their checks to follow the change. +* ABI/API changes are planned for 17.11 in all structures which include port_id + definition such as "rte_eth_dev_data", "rte_port_ethdev_reader_params", + "rte_port_ethdev_writer_params", and so on. The definition of port_id will be + changed from 8 bits to 16 bits in order to support more than 256 ports in + DPDK. All APIs which have port_id parameter will be changed at the same time. + * librte_table: The ``key_mask`` parameter will be added to all the hash tables that currently do not have it, as well as to the hash compute function prototype. The non-"do-sig" versions of the hash tables will be removed