[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090827070547.GA32106@wavehammer.waldi.eu.org>
Date: Thu, 27 Aug 2009 09:05:47 +0200
From: Bastian Blank <bastian@...di.eu.org>
To: frank.blaschka@...ibm.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-s390@...r.kernel.org,
Klaus-Dieter Wacker <kdwacker@...ibm.com>
Subject: Re: [patch 1/5] [PATCH] qeth: HiperSockets SIGA retry support on
CC=2.
On Wed, Aug 26, 2009 at 02:01:06PM +0200, frank.blaschka@...ibm.com wrote:
> Qeth HiperSockets support now retries sending of packets when the
> IBM System z signals a temporary resource shortage (e.g. target
> buffer full). The packet is enqueued into the device queue.
> After 3 times of unsuccessful send the packet is dropped.
What is the reason for that? How large is the timeout for each retry?
Usually the upper layers should already handle dropped packages fine and
adding another retry below can produce retry multiplication.
> @@ -3178,6 +3203,25 @@ int qeth_do_send_packet_fast(struct qeth
> atomic_set(&queue->state, QETH_OUT_Q_UNLOCKED);
> qeth_fill_buffer(queue, buffer, skb, hdr, offset, hd_len);
> qeth_flush_buffers(queue, index, 1);
> + if (queue->sync_iqdio_error == 2) {
Is this a magic constant?
Bastian
--
... The prejudices people feel about each other disappear when they get
to know each other.
-- Kirk, "Elaan of Troyius", stardate 4372.5
--
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