Skip to contentSkip to conversation

small packets sent through ne2k-pci delayed

DISCUSSION Stephen Hemminger 1 participant 1 message Apr 4, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 29 lines · ----- "Florian Zumbiehl

Hi,

I noticed today that a 2.6.33 kernel with an ne2k-pci card of mine transmits small packets (those that result in frames < 61 bytes) only with some major delay - or more exactly, it seems that they are being transmitted only when the next packet to be transmitted comes along.

Now, this patch seems to fix it for me, but I am not that sure that that's
how it should be fixed:

di

I _think_ that this problem did not exist with 2.6.22-rc4 - but I didn't
have a chance to (re-)test that yet, I just think that I did things in the
past (when that kernel was still running on that machine) that would imply
that the problem did not exist at the time ...

So, any suggestions what I should try, other than re-testing with 2.6.22-rc4 (some time soon, I can do that, too, just not now)?

What might be interesting to know: those 61-byte frames do actually arrive
at the recipient as 61-byte frames ...

Quoted 5 lines

Florian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

The standard correct way to do this is skb_padto()