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-next 0/2] hv_netvsc: Fix default and limit of recv buffe
Date: Mon, 11 Dec 2017 08:56:56 -0800 [thread overview]
Message-ID: <20171211165658.14768-1-sthemmin@microsoft.com> (raw)
The default for receive buffer descriptors is not correct, it should
match the default receive buffer size and the upper limit of receive
buffer size is too low. Also, for older versions of Window servers
hosts, different lower limit check is necessary, otherwise the buffer
request will be rejected by the host, resulting vNIC not come up.
This patch set corrects these problems.
Haiyang Zhang (2):
hv_netvsc: Fix the receive buffer size limit
hv_netvsc: Fix the TX/RX buffer default sizes
drivers/net/hyperv/hyperv_net.h | 19 ++++++++++++++++---
drivers/net/hyperv/netvsc.c | 5 +++++
drivers/net/hyperv/netvsc_drv.c | 4 ----
3 files changed, 21 insertions(+), 7 deletions(-)
--
2.11.0
next reply other threads:[~2017-12-11 16:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-11 16:56 Stephen Hemminger [this message]
2017-12-11 16:56 ` [PATCH net-next 1/2] hv_netvsc: Fix the receive buffer size limit Stephen Hemminger
2017-12-11 16:56 ` [PATCH net-next 2/2] hv_netvsc: Fix the TX/RX buffer default sizes Stephen Hemminger
2017-12-13 18:25 ` [PATCH net-next 0/2] hv_netvsc: Fix default and limit of recv buffe David Miller
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=20171211165658.14768-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).