| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: via-rhine unable to send back-to-back packets? |
| From: | Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> |
| Date: | Tue, 30 Nov 2004 07:48:23 +0100 |
| Cc: | rl@xxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041129172540.6b959858.davem@xxxxxxxxxxxxx> |
| References: | <20041129222700.GA22918@xxxxxxxxxxxxxxxxx> <20041129172540.6b959858.davem@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
On Mon, Nov 29, 2004 at 05:25:40PM -0800, David S. Miller wrote: > > For example, when transmitting 300-byte packets, I can TX 38261 packets > > per second, but I should be able to TX ~38580. When doing the math, it > > turns out that 38261 is exactly the number of 302-byte packets you can > > stuff into Fast Ethernet per second. > > Is the packet length in those calculations taking into consideration > the CRC et al. bytes that the card adds to the packet? Yeah, preamble (8 bytes), CRC (4 bytes), inter-packet gap (12 bytes). Perhaps the via-rhine simply can't send out packets back-to-back and needs 14 byte times of inter-packet gap. I couldn't find any stray +2 in the driver anywhere but I'm just checking. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Deadlock in af_packet/packet_rcv, David S. Miller |
|---|---|
| Next by Date: | Re: 2.6.9 tcp problems, Willy Tarreau |
| Previous by Thread: | Re: via-rhine unable to send back-to-back packets?, David S. Miller |
| Next by Thread: | Re: via-rhine unable to send back-to-back packets?, Ben Greear |
| Indexes: | [Date] [Thread] [Top] [All Lists] |