DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] API feature check _HAS_
@ 2015-11-26 20:35 Thomas Monjalon
  2015-11-29  9:07 ` Vlad Zolotarov
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2015-11-26 20:35 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-29  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-26 20:35 [dpdk-dev] API feature check _HAS_ Thomas Monjalon
2015-11-29  9:07 ` Vlad Zolotarov
2015-11-29  9:10   ` Gleb Natapov
2015-11-29  9:43     ` Vlad Zolotarov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).