[dpdk-dev] API feature check _HAS_
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Nov 26 21:35:03 CET 2015
When introducing LRO, Vlad has defined the macro RTE_ETHDEV_HAS_LRO_SUPPORT:
http://dpdk.org/browse/dpdk/commit/lib/librte_ether/rte_ethdev.h?id=8eecb329
It allows to use the feature without version check (before the release or
after a backport).
Do you think it is useful?
Should we define other macros RTE_[API]_HAS_[FEATURE] for each new feature
or API change?
It's time to fix it before releasing the 2.2 version.
More information about the dev
mailing list