[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18133.40847.166882.838333@robur.slu.se>
Date: Wed, 29 Aug 2007 18:32:15 +0200
From: Robert Olsson <Robert.Olsson@...a.slu.se>
To: hadi@...erus.ca
Cc: Mandeep Singh Baines <mandeep.baines@...il.com>,
davem@...emloft.net, rick.jones2@...com, msb@...gle.com,
netdev@...r.kernel.org, grundler@...gle.com,
robert.olsson@....uu.se, venza@...wnhat.org
Subject: Re: pktgen terminating condition
jamal writes:
> On Tue, 2007-28-08 at 21:43 -0700, Mandeep Singh Baines wrote:
> I think its a good thing pktgen caught this; i am unsure however if it
> is doing the right thing. Hoping Robert would respond.
> One thing pktgen could do is restrict the amount of outstanding buffers
> by using accounting the way sockets do - this at least wont stop
> progress as it did in your case.
Hello,
Yes it's synchronization issue... the test is over and we have sent
all pkts to the device but pktgen cannot free the skb for it still
has refcounts.
IMO must drivers have provisions to handle situation like. I'll
guess we can discuss last-resort timer if it should be us, ms
or possibly seconds but shouldn't need ping to make this happen.
If so we probably have a ICMP packet sitting there waiting instead.
Cheers
--ro
-
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