[dpdk-dev] [PATCH v3] af_packet: make the device detachable

2016-03-02 Thread Wojciech Żmuda
Hi Panu, >I think its okay to remove without going through the deprecation process. > just drop the accidentally exported symbol from the 2.0 definition. Well, this is what I've done so far. I'm going to post v4 patch modifying release_16_04.rst instead of release_2_3.rst, then. Thank you for sha

[dpdk-dev] [PATCH v3] af_packet: make the device detachable

2016-03-01 Thread Panu Matilainen
On 02/29/2016 08:22 PM, Wojciech ?muda wrote: > Hi Bernard, > >> Does making rte_pmd_af_packet_devinit local result in an ABI breakage? > If someone uses it in their app, they'll be forced to change it. > However, as this function is not intentionally public and there is API > to create devices t

[dpdk-dev] [PATCH v3] af_packet: make the device detachable

2016-02-29 Thread Wojciech Żmuda
Hi Bernard, > Does making rte_pmd_af_packet_devinit local result in an ABI breakage? If someone uses it in their app, they'll be forced to change it. However, as this function is not intentionally public and there is API to create devices that finally calls rte_pmd_af_packet_devinit(), I'm not s

[dpdk-dev] [PATCH v3] af_packet: make the device detachable

2016-02-24 Thread Iremonger, Bernard
Hi Wojciech, > Subject: [PATCH v3] af_packet: make the device detachable > > Allow dynamic deallocation of af_packet device through proper API > functions. To achieve this: > * set device flag to RTE_ETH_DEV_DETACHABLE > * implement rte_pmd_af_packet_devuninit() and expose it > through rte_dri

[dpdk-dev] [PATCH v3] af_packet: make the device detachable

2016-02-11 Thread Wojciech Zmuda
Allow dynamic deallocation of af_packet device through proper API functions. To achieve this: * set device flag to RTE_ETH_DEV_DETACHABLE * implement rte_pmd_af_packet_devuninit() and expose it through rte_driver.uninit() * copy device name to ethdev->data to make discoverable with rte_eth_dev_