[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141023114952.GI9188@zion.uk.xensource.com>
Date: Thu, 23 Oct 2014 12:49:52 +0100
From: Wei Liu <wei.liu2@...rix.com>
To: David Vrabel <david.vrabel@...rix.com>
CC: <netdev@...r.kernel.org>, <xen-devel@...ts.xenproject.org>,
Ian Campbell <ian.campbell@...rix.com>,
Wei Liu <wei.liu2@...rix.com>
Subject: Re: [PATCH 3/3] xen-netback: reintroduce guest Rx stall detection
On Wed, Oct 22, 2014 at 02:08:55PM +0100, David Vrabel wrote:
> If a frontend not receiving packets it is useful to detect this and
> turn off the carrier so packets are dropped early instead of being
> queued and drained when they expire.
>
> A to-guest queue is stalled if it doesn't have enough free slots for a
> an extended period of time (default 60 s).
>
> If at least one queue is stalled, the carrier is turned off (in the
> expectation that the other queues will soon stall as well). The
> carrier is only turned on once all queues are ready.
>
> When the frontend connects, all the queues start in the stalled state
> and only become ready once the frontend queues enough Rx requests.
>
> Signed-off-by: David Vrabel <david.vrabel@...rix.com>
Reviewed-by: Wei Liu <wei.liu2@...rix.com>
--
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