Page MenuHomeFreeBSD

hyperv/hn: remove the MTU and IFF_DRV_RUNNING checking in hn_rxpkt()
ClosedPublic

Authored by decui_microsoft.com on Dec 29 2016, 7:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 29, 11:52 AM
Unknown Object (File)
Sat, Jun 28, 11:07 AM
Unknown Object (File)
Sat, Jun 28, 7:21 AM
Unknown Object (File)
Fri, Jun 27, 3:15 PM
Unknown Object (File)
Fri, Jun 27, 10:12 AM
Unknown Object (File)
Fri, Jun 27, 12:42 AM
Unknown Object (File)
Thu, Jun 26, 5:55 AM
Unknown Object (File)
Wed, Jun 25, 11:35 AM
Subscribers
None

Details

Summary

It's unnecessary because the upper nework stack does the same checking.

In the case of Hyper-V SR-IOV, we need to remove the checking because

  1. multicast/broadcast packets are still received through the synthetic

NIC and we need to inject the packets through the VF interface;

  1. we must inject the packets even if the synthetic NIC is down, or has

a different MTU from the VF device.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6440
Build 6671: arc lint + arc unit

Event Timeline

decui_microsoft.com retitled this revision from to hyperv/hn: remove the MTU and IFF_DRV_RUNNING checking in hn_rxpkt().
decui_microsoft.com updated this object.
decui_microsoft.com edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Dec 29 2016, 7:51 AM
This revision was automatically updated to reflect the committed changes.