netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com
Cc: devel@linuxdriverproject.org, netdev@vger.kernel.org
Subject: [PATCH net 0/3] netvsc fix buffer size issues
Date: Thu,  7 Dec 2017 16:10:52 -0800	[thread overview]
Message-ID: <20171208001055.24670-1-sthemmin@microsoft.com> (raw)

The changes to allow setting buffer size can cause issues
on older versions of Windows Server which have smaller limits.
And the actual maximum value for WS2016 is 31M not 16M.

This is a resend of patchset that didn't make it to
netdev correctly.

Haiyang Zhang (3):
  hv_netvsc: Correct the max receive buffer size
  hv_netvsc: Limit the receive buffer size for legacy hosts
  hv_netvsc: Fix the default receive buffer size

 drivers/net/hyperv/hyperv_net.h | 6 ++++--
 drivers/net/hyperv/netvsc.c     | 5 +++++
 drivers/net/hyperv/netvsc_drv.c | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

-- 
2.11.0

             reply	other threads:[~2017-12-08  0:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08  0:10 Stephen Hemminger [this message]
2017-12-08  0:10 ` [PATCH net 1/3] hv_netvsc: Correct the max receive buffer size Stephen Hemminger
2017-12-08 10:33   ` Dan Carpenter
2017-12-08 16:03     ` David Miller
2017-12-08 16:11     ` Haiyang Zhang
2017-12-08  0:10 ` [PATCH net 2/3] hv_netvsc: Limit the receive buffer size for legacy hosts Stephen Hemminger
2017-12-08  0:10 ` [PATCH net 3/3] hv_netvsc: Fix the default receive buffer size Stephen Hemminger
2017-12-08 10:44   ` Dan Carpenter
2017-12-08 16:18     ` Haiyang Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171208001055.24670-1-sthemmin@microsoft.com \
    --to=stephen@networkplumber.org \
    --cc=devel@linuxdriverproject.org \
    --cc=haiyangz@microsoft.com \
    --cc=kys@microsoft.com \
    --cc=netdev@vger.kernel.org \
    --cc=sthemmin@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).