From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH 3/6] xen-netfront: frags -> slots in xennet_get_responses Date: Mon, 25 Mar 2013 14:25:06 +0000 Message-ID: <51505E42.3050403__32312.1412926868$1364221647$gmane$org@citrix.com> References: <1364209702-12437-1-git-send-email-wei.liu2@citrix.com> <1364209702-12437-4-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1364209702-12437-4-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.campbell@citrix.com, konrad.wilk@oracle.com, netdev@vger.kernel.org, xen-devel@lists.xen.org, annie.li@oracle.com, david.vrabel@citrix.com List-Id: xen-devel@lists.xenproject.org On 25/03/13 11:08, Wei Liu wrote: > This function is in fact counting the ring slots required for responses. > Separate the concepts of ring slots and skb frags make the code clearer, as > now netfront and netback can have different MAX_SKB_FRAGS, slot and frag are > not mapped 1:1 any more. > > Signed-off-by: Wei Liu Makes sense. Reviewed-by: David Vrabel David