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)
Sat, Feb 22, 9:03 AM
Unknown Object (File)
Wed, Feb 19, 2:53 PM
Unknown Object (File)
Jan 24 2025, 1:37 AM
Unknown Object (File)
Jan 24 2025, 1:23 AM
Unknown Object (File)
Jan 15 2025, 9:48 PM
Unknown Object (File)
Jan 11 2025, 5:19 AM
Unknown Object (File)
Nov 25 2024, 4:43 PM
Unknown Object (File)
Oct 24 2024, 9:49 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.