From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/6] hv_netvsc: minor optimizations Date: Sun, 03 Dec 2017 10:11:08 -0500 (EST) Message-ID: <20171203.101108.1726710787279697662.davem@davemloft.net> References: <20171201190149.22683-1-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, devel@linuxdriverproject.org, netdev@vger.kernel.org To: stephen@networkplumber.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:36234 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbdLCPLK (ORCPT ); Sun, 3 Dec 2017 10:11:10 -0500 In-Reply-To: <20171201190149.22683-1-sthemmin@microsoft.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Stephen Hemminger Date: Fri, 1 Dec 2017 11:01:43 -0800 > These are a set of local optimizations the Hyper-V networking driver. > Also include a vmbus patch in this set, because it depends on the > netvsc that last used that function. Series applied. For the ring percentage stuff, I would suggest sticking to power of 2 arithmetic (and thus approximations) even when the ring size is not a power of 2. That way you won't even need multiplies.