I'm not an expert here but will try to help as i am actually working with PF_RING too.
> 1. When using PF_RING, should one also enable CONFIG_PACKET_MMAP in the > kernel? I think you don't need it but it seems not to be a problem if it is enabled. > 4. All sources seem to point to > http://home.t-online.de/home/Bernhard_Kuhn/rtirq/ for this patch but > this does not appear to be correct. Where is this currently > maintained? I guess the link is correct but the patch is not maintained anymore. Maybe this is a hint that it is not needed anymore? I don't know. The patch is not googleable either ;) > 5. I have a couple of questions about the diagram on page 6 of the > pdf. num_slots is the size of each buffer, correct? On a 32 bit x86 > system this can't be bigger than 4096 correct? In the case of multiple > capture applications, does the NIC have to perform a write for each > buffer? If so does this affect capture performance? You want to run multiple capture applications? That's interesting. Could you tell me more about that. > 6. I've been trying to find out if the tg3 kernel drivers support NAPI > and have come up with mixed results. Unlike some other drivers, there > is no specific option for it in the kernel, but goggling around I have > found some references that suggest it is enabled by default in the tg3 > drivers. Does anyone know for sure if this is the case? Have a look at $KERNEL/Documentation/networking/NAPI_HOWTO.txt Mentioned functions appear in tg3.c so i think the driver supports NAPI. Besides that, NAPI doesn't seem to be magic, just a NewAPI. -Michael _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
