]> git.baikalelectronics.ru Git - kernel.git/commit
hv_netvsc: Eliminate memory allocation in the packet send path
authorKY Srinivasan <kys@microsoft.com>
Mon, 30 Mar 2015 04:08:42 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 18:12:36 +0000 (14:12 -0400)
commit6aaaa769bf317d48c22a4c3afb5453d2d9f94c91
treef1d9c3316edd991b7c08ae73099d0bd53e0c4b54
parent839e98bb720a43801e3b462a029b3922ba14449b
hv_netvsc: Eliminate memory allocation in the packet send path

The network protocol used to communicate with the host is the remote ndis (rndis)
protocol. We need to decorate each outgoing packet with a rndis header and
additional rndis state (rndis per-packet state). To manage this state, we
currently allocate memory in the transmit path. Eliminate this allocation by
requesting additional head room in the skb.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c