[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6210063250.20140605125631@eikelenboom.it>
Date: Thu, 5 Jun 2014 12:56:31 +0200
From: Sander Eikelenboom <linux@...elenboom.it>
To: Zoltan Kiss <zoltan.kiss@...rix.com>
CC: Wei Liu <wei.liu2@...rix.com>, xen-devel@...ts.xenproject.org,
<ian.campbell@...rix.com>, <paul.durrant@...rix.com>,
<netdev@...r.kernel.org>, <david.vrabel@...rix.com>,
<davem@...emloft.net>
Subject: Re: [PATCH net v2] xen-netback: Fix handling of skbs requiring too many slots
Thursday, June 5, 2014, 12:07:34 PM, you wrote:
> On Wed, Jun 04, 2014 at 07:58:51PM +0100, Zoltan Kiss wrote:
>> A recent commit (a02eb4 "xen-netback: worse-case estimate in xenvif_rx_action is
>> underestimating") capped the slot estimation to MAX_SKB_FRAGS, but that triggers
>> the next BUG_ON a few lines down, as the packet consumes more slots than
>> estimated.
>> This patch introduces full_coalesce on the skb callback buffer, which is used in
>> start_new_rx_buffer() to decide whether netback needs coalescing more
>> aggresively. By doing that, no packet should need more than
>> (XEN_NETIF_MAX_TX_SIZE + 1) / PAGE_SIZE data slots (excluding the optional GSO
>> slot, it doesn't carry data, therefore irrelevant in this case), as the provided
>> buffers are fully utilized.
>>
Hi Zoltan,
JFYI: tested this patch(v2) and it seems to work fine for my testcases, thanks !
--
Sander
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists