[dpdk-dev] [PATCH 1/2] bnx2x: disable fast path interrupts

Rasesh Mody rasesh.mody at qlogic.com
Fri Jul 15 18:40:06 CEST 2016


> From: Chas Williams [mailto:3chas3 at gmail.com]
> Sent: Friday, July 15, 2016 3:35 AM
> 
> On Thu, 2016-07-14 at 10:03 -0700, Rasesh Mody wrote:
> > Disable fastpath interrupts and remove unneeded delay in
> > bnx2x_interrupt_action(). This patch fixes and prevents performance
> > degradation for BNX2X PMD.
> >
> > Fixes: 540a2110 ("bnx2x: driver core")
> >
> > Signed-off-by: Rasesh Mody <rasesh.mody at qlogic.com>
> >
> > diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c
> > b/drivers/net/bnx2x/bnx2x_ethdev.c
> > index c8d2bf2..f97dd5b 100644
> > --- a/drivers/net/bnx2x/bnx2x_ethdev.c
> > +++ b/drivers/net/bnx2x/bnx2x_ethdev.c
> > @@ -107,8 +107,8 @@ bnx2x_interrupt_action(struct rte_eth_dev *dev)
> >
> >  	PMD_DEBUG_PERIODIC_LOG(INFO, "Interrupt handled");
> >
> > -	if (bnx2x_intr_legacy(sc, 0))
> > -		DELAY_MS(250);
> > +	bnx2x_intr_legacy(sc, 0)
> > +
> 
> Trailing semicolon?

My bad, sorry, I didn’t send the latest patch, will send v2.


More information about the dev mailing list