Don can you better explain your app configuration, maybe with an example, in order to better understand (or try to reproduce) the issue? Your previous description is a little confusing and I would like to know exactly on which interface/thread you are sending/receiving packets.
Regards Alfredo On Oct 15, 2011, at 12:23 AM, Don Provan wrote: > I'm using a silicom 82599 based NIC (close enough?) running with 8 > queues per port. > -don > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Luca Deri > Sent: Friday, October 14, 2011 1:48 PM > To: [email protected] > Cc: <[email protected]> > Subject: Re: [Ntop-misc] Using DNA devices,pfring_send() sometimes fails > to a ring that's also receiving > > Don > A few questions: > - what NIC do you own? > - are you using the drive in single or multi queue ? > > Regards Luca > > Sent from my iPad > > On 14/ott/2011, at 21:02, "Don Provan" <[email protected]> wrote: > >> I'm using ixgbe ports via DNA with pf_ring 5.1.0. My code uses >> pfring_recv() to receive packets from one ring, then uses > pfring_send() >> to transmit them via another ring. The code works fine *unless* the >> other ring is *also* receiving packets at the same time on another >> thread. In that case, pfring_send() fails a few times out of a > hundred. >> Is there some ring locking requirement that I'm missing? >> -don >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
