ethdev: reserve space in main structs for extension
authorThomas Monjalon <thomas@monjalon.net>
Mon, 11 Nov 2019 07:26:09 +0000 (08:26 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 16:02:29 +0000 (17:02 +0100)
commit436b3a6b6e6241348f1ec7b6f81af831ebb582eb
tree4ad29dfab45be313238cc2fe247a1d4e31c66d08
parent0d1d73170820aa2248d467628ef39f813c5189bb
ethdev: reserve space in main structs for extension

In order to allow smooth addition of features without breaking
ABI compatibility, some space is reserved in several core structs
of ethdev API.

The struct rte_eth_dev and rte_eth_dev_data are supposed
to be used internally only, but there is a chance that
increasing their size would break ABI for some applications.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ethdev/rte_ethdev.h
lib/librte_ethdev/rte_ethdev_core.h