If the NVSP protocol version is not greater than NVSP_PROTOCOL_VERSION_2, then
the recv buffer size is 15MB, otherwise the buffer size is 16MB.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Differential D4814
Hyperv: netvsc: Set net_dev's recv buffer size according to NVSP protocol version honzhan_microsoft.com on Jan 7 2016, 10:56 AM. Authored by Tags None Referenced Files
Subscribers
Details If the NVSP protocol version is not greater than NVSP_PROTOCOL_VERSION_2, then Submitted by: Hongjiang Zhang <honzhan microsoft com>
Diff Detail
Event TimelineComment Actions I don't mind committing this, but is it really worth it? I mean, with 16MB you are always on the safe side, and it's not like 1MB of memory is a huge deal this days... Comment Actions It's only to cope with a host bug of Hyper-V 2008R2 -- on this old host, we need to use a slightly smaller receive buffer size, otherwise the buffer will not be accepted by the host. |