Page MenuHomeFreeBSD

vnic: apply hardware L3 checksum only for IPv4
ClosedPublic

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

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.Dec 4 2017, 6:54 PM
emaste added inline comments.Dec 4 2017, 7:00 PM
sys/dev/vnic/nicvf_queues.c
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

LGTM

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.