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: Mon, 04 Aug 2014 15:08:42 -0700 (PDT) From: David Miller <davem@...emloft.net> To: haiyangz@...rosoft.com Cc: netdev@...r.kernel.org, kys@...rosoft.com, olaf@...fle.de, jasowang@...hat.com, linux-kernel@...r.kernel.org, driverdev-devel@...uxdriverproject.org Subject: Re: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb() From: Haiyang Zhang <haiyangz@...rosoft.com> Date: Mon, 4 Aug 2014 12:33:45 -0700 > When the buffer is too small for a packet from VMBus, a bigger buffer will be > allocated in netvsc_channel_cb() and retry reading the packet from VMBus. > Increasing this buffer size will reduce the retry overhead. > > Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com> > Reviewed-by: Dexuan Cui <decui@...rosoft.com> Now netvsc_device is significantly larger than a page, you should probably therefore allocate netvsc_device->cb_buffer indirectly instead of inlining it into the structure. -- 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