[dpdk-dev] [PATCH v7 07/14] ethdev: Add functions that will be used by port hotplug functions

2015-02-10 Thread Tetsuya Mukawa
On 2015/02/10 0:34, Iremonger, Bernard wrote: > >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Monday, February 9, 2015 8:31 AM >> To: dev at dpdk.org >> Cc: Iremonger, Bernard; Qiu, Michael; Tetsuya Mukawa >> Subject: [PATCH v7 07/14] ethdev: Add

[dpdk-dev] [PATCH v7 07/14] ethdev: Add functions that will be used by port hotplug functions

2015-02-09 Thread Tetsuya Mukawa
The patch adds following functions. - rte_eth_dev_save() The function is used for saving current rte_eth_dev structures. - rte_eth_dev_get_changed_port() The function receives the rte_eth_dev structures, then compare these with current values to know which port is actually attached or