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

Bruce Richardson bruce.richardson at intel.com
Thu Mar 10 17:49:35 CET 2016


On Thu, Mar 03, 2016 at 01:54:50PM +0000, 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 <bernard.iremonger at intel.com>;
> > linville at tuxdriver.com; Richardson, Bruce <bruce.richardson at intel.com>;
> > pmatilai at redhat.com
> > Subject: [PATCH v4] 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_driver.uninit()
> > * copy device name to ethdev->data to make discoverable with
> >   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 <woz at semihalf.com>
> 
> Acked-by: Bernard Iremonger <Bernard.iremonger at intel.com>
>
Applied to dpdk-next-net/rel_16_04

/Bruce


More information about the dev mailing list