DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] How to replace rte_eth_dev_attach with rte_eal_hotplug_add
@ 2018-09-20  8:46 Hideyuki Yamashita
  2018-09-20  9:09 ` Gaëtan Rivet
  0 siblings, 1 reply; 20+ messages in thread
From: Hideyuki Yamashita @ 2018-09-20  8:46 UTC (permalink / raw)
  To: dev

Hello,

From dpdk 18.08 release rte_eth_dev_attach and 
rte_eth_dev_detach becom deprecated API and 
it is recommended to replace with rte_eal_hotplug_add
and rte_eal_hotplug_remove.

My program uses  above mentioned deprecated APIs
and have to replace those.
Note that my program uses attach to attach vhost, pcap pmd.

My question is whether it is correct to replace those as following:
find rte_eth_dev_attach function in rte_ethdev.c and
migrate those content into my program.

e.g. 
lib/librte_ethdev/rte_ethdev.c line 643-686 for attach
lib/librte_ethdev/rte_ethdev.c line 690-720 for detach

Your advice/guidance are much appreciated.
Thanks!

BR,
Hideyuki Yamashita
-----------------------------------------
Hideyuki Yamashita
NTT TechnoCross
-----------------------------------------

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

end of thread, other threads:[~2018-10-25 10:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-20  8:46 [dpdk-dev] How to replace rte_eth_dev_attach with rte_eal_hotplug_add Hideyuki Yamashita
2018-09-20  9:09 ` Gaëtan Rivet
2018-09-20 13:02   ` Thomas Monjalon
2018-09-21  7:19     ` Hideyuki Yamashita
2018-09-21  9:16       ` Thomas Monjalon
2018-09-27  1:38         ` Hideyuki Yamashita
2018-09-27  8:58           ` Thomas Monjalon
2018-09-27 10:40             ` Hideyuki Yamashita
2018-09-27 11:39               ` Thomas Monjalon
2018-10-22  4:34                 ` Hideyuki Yamashita
2018-10-22  6:55                   ` Thomas Monjalon
2018-10-22 11:24                     ` Hideyuki Yamashita
2018-10-22 12:01                       ` Thomas Monjalon
2018-10-23  1:52                         ` Hideyuki Yamashita
2018-10-23  7:34                           ` Thomas Monjalon
2018-10-25  2:54                             ` Hideyuki Yamashita
2018-10-25  6:48                               ` Thomas Monjalon
2018-10-25  9:46                                 ` Hideyuki Yamashita
2018-10-25 10:35                                   ` Thomas Monjalon
2018-09-27 13:48               ` Andrzej Ostruszka

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