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

2016-01-05 Thread Wojciech Zmuda
Fix memory leak when detaching virtual device. Set dev_flags to RTE_ETH_DEV_DETACHABLE and implement pmd_af_packet_drv.uninit method. Copy device name to ethdev->data to make it compatibile with rte_eth_dev_allocated(). Signed-off-by: Wojciech Zmuda --- drivers/net/af_packet/rte_eth_af_packe

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

2016-03-02 Thread Wojciech Zmuda
ith rte_eth_dev_allocated() Moreover, make af_packet init function static, as there is no reason to keep it public. Signed-off-by: Wojciech Zmuda --- v4: * Rebased against current master branch v3: * Rephrased feature note in release notes. * Rephrased commit log. * Added API change note in release no

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

2016-02-09 Thread Wojciech Zmuda
initialization copy device name to ethdev->data to make it compatible with rte_eth_dev_allocated(). Signed-off-by: Wojciech Zmuda --- v2: * Fixed typo and a comment. * Added feature to the 2.3 release notes. * Free memory allocated for rx and tx queues. doc/guides/rel_notes/release_2_3.

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

2016-02-11 Thread Wojciech Zmuda
ith rte_eth_dev_allocated() Moreover, make af_packet init function static, as there is no reason to keep it public. Signed-off-by: Wojciech Zmuda --- v3: * Rephrased feature note in release notes. * Rephrased commit log. * Added API change note in release notes. * Made init function static. * Removed af_pac