[dpdk-dev] checking packet drop at NIC

Richardson, Bruce bruce.richardson at intel.com
Fri Feb 7 10:13:42 CET 2014


The Intel DPDK does not at present support interrupts for dropped packets. Only support for link status change interrupts are supported at this time, but since the basics are there, it is possible with a bit of work to add handling for other interrupts if so needed.

Regards,
/Bruce

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sharath
> Sent: Friday, February 07, 2014 5:44 AM
> To: Vladimir Medvedkin
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] checking packet drop at NIC
> 
> hi all,
> can anyone please let me know about this ??
> 
> Tx,
> -SB
> 
> 
> On Thu, Feb 6, 2014 at 11:20 AM, Sharath
> <sharathjm.bharadwaj at gmail.com>wrote:
> 
> > hi Vladimir,
> >
> > I would like to know if there are any callback mechanism to detect
> > FIFO errors in NIC ?
> > could you please let me know.
> >
> > Tx
> > -SB
> >
> >
> > On Fri, Jan 31, 2014 at 12:56 PM, Sharath
> <sharathjm.bharadwaj at gmail.com>wrote:
> >
> >> thank you Vladimir.
> >>
> >>
> >> On Fri, Jan 31, 2014 at 12:36 PM, Vladimir Medvedkin <
> >> medvedkinv at gmail.com> wrote:
> >>
> >>> Hi Sharath,
> >>>
> >>> In DPDK interrupts are disabled to eliminate the performance overhead.
> >>> Interrupts used only for link status change. So you can poll
> >>> rte_eth_stats_get and check struct rte_eth_stats for errors.
> >>>
> >>> Regards,
> >>> Vladimir
> >>>
> >>>
> >>>
> >>> 2014-01-31 Sharath <sharathjm.bharadwaj at gmail.com>
> >>>
> >>> Hi Daniel & all,
> >>>>
> >>>> can anyone please let me know about this.
> >>>>
> >>>> Tx
> >>>> -SB
> >>>>
> >>>>
> >>>> On Thu, Jan 30, 2014 at 4:50 PM, Sharath
> >>>> <sharathjm.bharadwaj at gmail.com
> >>>> >wrote:
> >>>>
> >>>> > hi!
> >>>> >
> >>>> > are there any interrupts which are raised by DPDK, for the fifo
> >>>> errors.
> >>>> >
> >>>> > please let me know, where can I find the details and how to
> >>>> > handle
> >>>> such
> >>>> > interrupts ?
> >>>> >
> >>>> > Tx
> >>>> > -SB
> >>>> >
> >>>> >
> >>>> > On Thu, Jan 30, 2014 at 2:30 PM, Sharath <
> >>>> sharathjm.bharadwaj at gmail.com>wrote:
> >>>> >
> >>>> >> Thanks Daniel !
> >>>> >> Let me check it out . . .
> >>>> >> On Jan 29, 2014 8:54 PM, "Daniel Kaminsky" <
> >>>> >> daniel.kaminsky at infinitelocality.com> wrote:
> >>>> >>
> >>>> >>> Hi Sharath,
> >>>> >>>
> >>>> >>> Try rte_eth_stats_get, I think this should give you what you're
> >>>> looking
> >>>> >>> for.
> >>>> >>>
> >>>> >>> Regards,
> >>>> >>> Daniel
> >>>> >>>
> >>>> >>>
> >>>> >>> On Tue, Jan 28, 2014 at 7:29 AM, Sharath <
> >>>> sharathjm.bharadwaj at gmail.com>wrote:
> >>>> >>>
> >>>> >>>> hi !
> >>>> >>>>
> >>>> >>>> can someone please tell me whether the DPDK provides any
> >>>> >>>> method to handle below
> >>>> >>>>
> >>>> >>>> a. account the packet drops at NIC level ? is there any
> >>>> >>>> interrupt raised by DPDK for the same ?
> >>>> >>>> b. to check fifo errors ?
> >>>> >>>> c. way to check rx and tx in sync
> >>>> >>>>
> >>>> >>>> Tx,
> >>>> >>>> -SB
> >>>> >>>>
> >>>> >>>
> >>>> >>>
> >>>> >
> >>>>
> >>>
> >>>
> >>
> >


More information about the dev mailing list