[dpdk-dev] [RFC PATCH 02/25] ethdev: Remove assumption that port will not be detached

Tetsuya Mukawa mukawa at igel.co.jp
Thu Oct 30 08:24:03 CET 2014


(2014/10/30 0:14), Bruce Richardson wrote:
> Given that apps may regularly use eth_dev_count, might it not be
> worthwhile to retain the nb_ports local variable to make this API call
> just be a variable read. The other APIs to enable/disable individual
> ports could easily just inc/dec this var as they do so.
>
> /Bruce 
I agree with your suggestion. I will change like above.

Thanks,
Tetsuya



More information about the dev mailing list