| To: | Robert.Olsson@xxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Constant errors with pktgen |
| From: | cliff white <cliffw@xxxxxxxx> |
| Date: | Mon, 14 Mar 2005 13:34:04 -0800 |
| Organization: | OSDL |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [patch 2.6.11] e1000: avoid sleeping in watchdog timer context, John W. Linville |
|---|---|
| Next by Date: | IPv6 went away?, Jeff Garzik |
| Previous by Thread: | [patch 2.6.11] e1000: avoid sleeping in watchdog timer context, John W. Linville |
| Next by Thread: | Constant errors with pktgen, Robert Olsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |