ethdev: add comment to warn of ABI breakage
authorCiara Power <ciara.power@intel.com>
Tue, 18 Feb 2020 13:39:44 +0000 (13:39 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 12:51:06 +0000 (13:51 +0100)
commit888683110dc766b6907d2686c912e5189e3312ab
tree40595c961333427632909caa3dad4527f343b3b3
parent72dcb9177367e84f2566a067dc3c65ec2a800c13
ethdev: add comment to warn of ABI breakage

If a function is added to the eth_dev_ops struct before
tx_descriptor_status function, this will cause ABI breakage. This is due
to static inline functions using this function, and some other functions
above it in the struct, so they cannot change position. A comment is
added to inform developers of this possible breakage.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ethdev/rte_ethdev_core.h