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
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
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.
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
4 matches
Mail list logo