Hi Wang if you are using standard drivers (not ZC drivers) or just using a single recv/process loop the two APIs are equivalent. The ZC API is useful for creating zero-copy processing patterns like pipelines, load-balancing, etc.
Regards Alfredo > On 11 Dec 2019, at 04:18, Wang <cnwangy...@gmail.com> wrote: > > hi, > I am new to pf_ring zc and is a little confused by how to use pf_ring api and > pf_ring zc api. Let's take pfcount and zcount as a example. what's the > different for pfcount using pfring_open() to open a zc:eth0 and zcount using > pfring_zc_open_device() to open zc:eth0? What's the best practise? > > Many thanks > > Wang > _______________________________________________ > Ntop mailing list > Ntop@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list Ntop@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop