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

2016-03-10 Thread Bruce Richardson
On Thu, Mar 03, 2016 at 01:54:50PM +, Iremonger, Bernard wrote: > > -Original Message- > > From: Wojciech Zmuda [mailto:woz at semihalf.com] > > Sent: Wednesday, March 2, 2016 11:56 AM > > To: dev at dpdk.org > > Cc: Iremonger, Bernard ; > > linville at tuxdriver.com; Richardson, Bruce

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

2016-03-03 Thread Iremonger, Bernard
> -Original Message- > From: Wojciech Zmuda [mailto:woz at semihalf.com] > Sent: Wednesday, March 2, 2016 11:56 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard ; > linville at tuxdriver.com; Richardson, Bruce ; > pmatilai at redhat.com > Subject: [PATCH v4] af_packet: make the device

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

2016-03-02 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