summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2017-08-07 20:42:30 +0800
committerThomas Monjalon <thomas@monjalon.net>2017-08-08 11:32:49 +0200
commit2a2d0d181c80279c1bcbd6892445dcaffef11783 (patch)
treeae8f1aa6f8f05daab397e5387f4e7865f061ac69
parenta9208dd58ab218871a151c80c66901f4f80376f5 (diff)
downloaddpdk-2a2d0d181c80279c1bcbd6892445dcaffef11783.zip
dpdk-2a2d0d181c80279c1bcbd6892445dcaffef11783.tar.gz
dpdk-2a2d0d181c80279c1bcbd6892445dcaffef11783.tar.xz
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 <zhiyong.yang@intel.com> Acked-by: Jianfeng Tan <jianfeng.tan@intel.com> Acked-by: Yuanhan Liu <yliu@fridaylinux.org> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Remy Horton <remy.horton@intel.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 74e4ce4..9a5f6b8 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