Hi Pavel pf_ring with standard drivers provides information about checksum offload when enabled, please take a look at pfring_pkthdr.extended_hdr.flags
#define PKT_FLAGS_CHECKSUM_OFFLOAD 1 << 0 /* IP/TCP checksum offload enabled */ #define PKT_FLAGS_CHECKSUM_OK 1 << 1 /* Valid checksum (with IP/TCP checksum offload enabled) */ We will add support for this also to ZC ASAP. Alfredo > On 02 Apr 2015, at 08:28, Pavel Odintsov <[email protected]> wrote: > > Hello, folks! > > I'm working on user space tcp/ip implementation now. I have modern network > cards with many types of hardware offload. I interested in tcp and ip > checksumm validation/generation. But I could not find any flags in pfring > parsed packet header about succsess or fail in checksumm validation. But > checksumm offliad is definitely working and I coukd see counter values in > network card stats. > > Nic offload features provide huge performance benefits and will be fine if > you provide code and examples fir they. > > Thank you for your attention! > > > -- > Sincerely yours, Pavel Odintsov > _______________________________________________ > 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
