vnic: apply hardware L3 checksum only for IPv4

Authored by emaste on Dec 4 2017, 6:54 PM.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
emaste created this revision.Dec 4 2017, 6:54 PM
emaste added inline comments.Dec 4 2017, 7:00 PM
1805 ↗(On Diff #36200)

Or, should we do mbuf->m_pkthdr.csum_flags & CSUM_IP?

emaste updated this revision to Diff 36242.Dec 5 2017, 3:51 PM

Set L3 csum flag if CSUM_IP is set

bz accepted this revision.Dec 5 2017, 9:53 PM


This revision is now accepted and ready to land.Dec 5 2017, 9:53 PM
This revision was automatically updated to reflect the committed changes.