Merge branch 'hv_netvsc-less-headroom'
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 04:43:48 +0000 (23:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 04:43:48 +0000 (23:43 -0500)
commit0fe824d3654a38677ed0318204d166f947175b02
treeb8b9f57c0ea7508309f5cb9f8ea6bc412557c8c2
parent117ce394f2393a2ecfbeb1fbd3930c8cc831ac96
parent760d1e36cc16fa6444dd2000ac645455de1ecd51
Merge branch 'hv_netvsc-less-headroom'

Merge branch 'hv_netvsc-less-headroom'

K. Y. Srinivasan says:

====================
hv_netvsc: Eliminate the additional head room

In an attempt to avoid having to allocate memory on the send path, the netvsc
driver was requesting additional head room so that both rndis header and the
netvsc packet (the state that had to persist) could be placed in the skb.
Since the amount of head room requested was exceeding the default head room
as set in LL_MAX_HEADER, we were forcing a reallocation of skb.

With this patch-set, I have reduced the size of the netvsc packet to less
than 20 bytes and with this reduction we don't need to ask for any additional
headroom. We place the rndis header in the skb head room and we place the
netvsc packet in control buffer area in the skb.

V2:  - Addressed  review comments:
     - Eliminated more fields from netvsc packet structure.

V3:  - Fixed a typo in patch: hv_netvsc: Don't ask for additional head room in the skb.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This page took 0.108747 seconds and 5 git commands to generate.