19/12/2017 18:10, Matan Azrad:
> There is time between the physical removal of the device until PMDs get
> a RMV interrupt. At this time DPDK PMDs and applications still don't
> know about the removal.
>
> Current removal detection is achieved only by registration to device RMV
> event and the not
.@networkplumber.org]
> > > > Sent: Tuesday, December 19, 2017 7:20 PM
> > > > To: Matan Azrad
> > > > Cc: Adrien Mazarguil ; Thomas
> Monjalon
> > > > ; Gaetan Rivet ;
> > > > dev@dpdk.org
> > > > Subject: R
PM
> > > To: Matan Azrad
> > > Cc: Adrien Mazarguil ; Thomas Monjalon
> > > ; Gaetan Rivet ;
> > > dev@dpdk.org
> > > Subject: Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal
> > > status
> > >
> > > On Tue,
n Rivet ;
> > dev@dpdk.org
> > Subject: Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal
> > status
> >
> > On Tue, 19 Dec 2017 17:10:10 +
> > Matan Azrad wrote:
> >
> > > int
>
HI
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Tuesday, December 19, 2017 7:20 PM
> To: Matan Azrad
> Cc: Adrien Mazarguil ; Thomas Monjalon
> ; Gaetan Rivet ;
> dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3 1
On Tue, 19 Dec 2017 17:10:10 +
Matan Azrad wrote:
> int
> +rte_eth_dev_is_removed(uint16_t port_id)
> +{
> + struct rte_eth_dev *dev;
> + int ret;
> +
> + RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, 0);
> +
> + dev = &rte_eth_devices[port_id];
> +
> + RTE_FUNC_PTR_OR_ERR_RET
There is time between the physical removal of the device until PMDs get
a RMV interrupt. At this time DPDK PMDs and applications still don't
know about the removal.
Current removal detection is achieved only by registration to device RMV
event and the notification comes asynchronously. So, there i
7 matches
Mail list logo