From: David Laight <David.Laight@ACULAB.COM>
To: 'David L Stevens' <david.stevens@oracle.com>,
David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: RE: [PATCHv4 net-next 2/3] sunvnet: allow admin to set sunvnet MTU
Date: Wed, 17 Sep 2014 09:07:04 +0000 [thread overview]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D17494244@AcuExch.aculab.com> (raw)
In-Reply-To: <541886B9.3010206@oracle.com>
From: David L Stevens
> On 09/15/2014 08:35 PM, David L Stevens wrote:
>
> > */
> > #define VNET_TX_TIMEOUT (5 * HZ)
> >
> > -#define VNET_MAXPACKET 1518ULL /* ETH_FRAMELEN + VLAN_HDR */
> > +#define VNET_MAXPACKET 65553ULL /* 64K-1 +ETH HDR +VLAN HDR*/
That would be better as the expression (0xffffull + 14 + 4).
> > #define VNET_TX_RING_SIZE 512
> > #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4)
David
prev parent reply other threads:[~2014-09-17 9:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 0:35 [PATCHv4 net-next 2/3] sunvnet: allow admin to set sunvnet MTU David L Stevens
2014-09-16 18:51 ` David L Stevens
2014-09-16 19:10 ` David Miller
2014-09-17 9:07 ` David Laight [this message]
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=063D6719AE5E284EB5DD2968C1650D6D17494244@AcuExch.aculab.com \
--to=david.laight@aculab.com \
--cc=davem@davemloft.net \
--cc=david.stevens@oracle.com \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.