[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180427.144648.1044691814954850626.davem@davemloft.net>
Date: Fri, 27 Apr 2018 14:46:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: haiyangz@...rosoft.com, netdev@...r.kernel.org,
sthemmin@...rosoft.com
Subject: Re: [PATCH net-next] hv_netvsc: simplify receive side calling
arguments
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Thu, 26 Apr 2018 14:34:25 -0700
> The calls up from the napi poll reading the receive ring had many
> places where an argument was being recreated. I.e the caller already
> had the value and wasn't passing it, then the callee would use
> known relationship to determine the same value. Simpler and faster
> to just pass arguments needed.
>
> Also, add const in a couple places where message is being only read.
>
> Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
Applied, thanks Stephen.
Powered by blists - more mailing lists