DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Changing rte_eth_dev_count() to rte_eth_dev_count_avail()
@ 2018-05-22 21:09 Wiles, Keith
  0 siblings, 0 replies; only message in thread
From: Wiles, Keith @ 2018-05-22 21:09 UTC (permalink / raw)
  To: DPDK

After having to change the spp (software patch panel) to get it to compile. I had one problem with the new memory code, but was easy to fix and I had to add the define to enable the experimental code to the Makefile.

The only other change was having to change all of the rte_eth_dev_count() to rte_eth_dev_count_avail(), why did we not add a define or simple inline function to call rte_eth_dev_count_avail() instead of removing the API? I had the same problem with rte_eth_dev_count() in pktgen.

Would it not have been better to add the define of inline function to reduce the amount of changes customers need to do?

Maybe I missed the discussion, sorry if did.

Regards,
Keith

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-22 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-22 21:09 [dpdk-dev] Changing rte_eth_dev_count() to rte_eth_dev_count_avail() Wiles, Keith

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).