lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 17 Sep 2014 09:07:04 +0000 From: David Laight <David.Laight@...LAB.COM> To: 'David L Stevens' <david.stevens@...cle.com>, David Miller <davem@...emloft.net> CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org> Subject: RE: [PATCHv4 net-next 2/3] sunvnet: allow admin to set sunvnet MTU 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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists