netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Constant errors with pktgen
@ 2005-03-14 21:34 cliff white
  2005-03-15 15:39 ` Robert Olsson
  0 siblings, 1 reply; 4+ messages in thread
From: cliff white @ 2005-03-14 21:34 UTC (permalink / raw)
  To: Robert.Olsson, netdev


Robert.

I am doing some wrapper scripts for pktgen for some testing purposes.

My test rig is two machines with an e100 card, connected by crossover cable.

When i run pktgen, the error counter == packet count, always. 

Adding printk's, i see the error is coming from this bit past line 2688:
----------

                now = getCurUs();
                if (now > pkt_dev->next_tx_us) {
                        /* TODO: this code is slightly wonky.  */
                        pkt_dev->errors++;
                        pkt_dev->next_tx_us = now - pkt_dev->delay_us;
                        pkt_dev->next_tx_ns = 0;
                }
----------------
Any suggestions? More info if needed..
cliffw

-- 
"Ive always gone through periods where I bolt upright at four in the morning; 
now at least theres a reason." -Michael Feldman

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-16 22:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 21:34 Constant errors with pktgen cliff white
2005-03-15 15:39 ` Robert Olsson
2005-03-15 19:04   ` cliff white
2005-03-16 22:50   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).