Scott
no pfring_send is not thread safe: this is not good. Please file a bug on 
http://bugzilla.ntop.org and we'll fix it

thanks Luca

On Dec 13, 2011, at 6:14 PM, Scott L wrote:

> Luca,
> 
> Thank you.  I have another question: is pfring_send thread-safe?  I
> notice that pfring_open includes a re-entrant flag but I want to make
> sure that that applies to sending as well as receiving.
> 
> =s=
> 
> On Tue, Dec 13, 2011 at 8:04 AM, Luca Deri <[email protected]> wrote:
>> Scott
>> #define NO_TX_SLOT_AVAILABLE   -3
>> 
>> means that there is no slot available, i.e. you try to send but the card is 
>> unable to send out the packet. This usually happens if you have a slow 
>> receiver that sends back to send ethernet pause frames for slowing it down
>> 
>> Luca
>> 
>> On Dec 12, 2011, at 9:47 PM, Scott L wrote:
>> 
>>> I'm using pf_ring with a Silicom NIC and am having a problem with
>>> pfring_send.  Sometimes, I get into a situation where all attempts to
>>> call pfring_send fail with error code -3.  From what I can tell,
>>> pfring_send just ends up calling send_ixgbe_packet which is a function
>>> in libpfring.so.  However, I can't find the source code for this
>>> function so I have no idea what this error means.  Can anyone help?
>>> 
>>> =s=
>>> _______________________________________________
>>> 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

Reply via email to