SVNews r324489

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-10 08:32:03 - r324489 by sephe (Sepherosa Ziehau)

Complete list of files affected by revision r324489:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/hyperv/netvsc/hn_nvs.c  
  History   Contents   Diff   MODIFY   /head/sys/dev/hyperv/netvsc/if_hn.c  
  History   Contents   Diff   MODIFY   /head/sys/dev/hyperv/netvsc/if_hnvar.h  

Commit message:

hyperv/hn: Workaround erroneous hash type observed on WS2016.

- UDP 4-tuple hash type is unconditionally enabled in Hyper-V on WS2016,
  which is _not_ affected by NDIS_OBJTYPE_RSS_PARAMS.
- Non-fragment UDP/IPv4 datagrams' hash type is delivered to VM as

Currently this erroneous behavior only applies to WS2016/Windows10.

Force l3/l4 protocol check, if the RXed packet's hash type is TCP_IPV4,
and the Hyper-V is running on WS2016/Windows10. If the RXed packet is
UDP datagram, adjust mbuf hash type to UDP_IPV4.

MFC after: 3 days
Sponsored by: Microsoft


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 3 files printed. Current time is 2018-03-24 11:49:46. All times are in UTC/GMT.