Alfredo, I finally got it to work. It appears I needed to call max_packet_len from zutils.c. I assume something in there, maybe open_pfring, is needed to get the zc-aware driver to accept the zc open device call. But one thing I find puzzling. Our MTU is set to 2048. When I open the device with the standard driver call (no zc:), max_packet_len return 2066. But when I open it zc-aware, it returns 3072. Is this expected?
Mike > On Oct 6, 2015, at 9:50 PM, Michael Nicolazzo <[email protected]> wrote: > > OK, thanks. Haven’t gotten it to work yet, but I’ll play with the buffer > allocation a bit more. > > Mike > >> On Oct 6, 2015, at 6:00 PM, Alfredo Cardigliano <[email protected]> wrote: >> >> Hi Mike >> it seems the buffer_len parameter you are passing to >> pfring_zc_create_cluster() is not big enough, >> please refer to zcount to get the correct value. >> >> Alfredo >> >>> On 06 Oct 2015, at 23:57, Michael Nicolazzo <[email protected]> wrote: >>> >>> Hi, >>> >>> I have an issue with my application using ZC and I hope you can provide >>> some insight to where the problem might be. The application runs perfectly >>> using standard drivers. But when I run the ZC aware driver (ixgbe) and >>> attempt to open the device with zc:eth3, the call to pfring_zc_open_device >>> fails with errno = 94. Zcount runs fine, so I assume I have installed the >>> driver properly. Any thoughts? >>> >>> Thanks, >>> >>> Mike >>> >>> _______________________________________________ >>> 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
