lkml.org 
[lkml]   [2015]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next V3 00/17] hv_netvsc: Eliminate the additional head room
From
From: "K. Y. Srinivasan" <kys@microsoft.com>
Date: Tue, 1 Dec 2015 16:42:58 -0800

> 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.

Series applied, thanks.


\
 
 \ /
  Last update: 2015-12-02 04:21    [W:0.075 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site