I'm modfying the WaveLAN ethernet device driver in order
to get some Quality of Service guarantees. To this end
I have to control the timing when packets get transmitted.
I therefore cannot transmit packets when net_bh wants
to transmit them.

I first tried returning 1 from the hard_start_xmit routine
and then resending packets at a later point similar to
dev_tint. This did not work, since I did not set the
tbusy flag. Thanks to Kaz and Alan, who pointed this
out to me :-)

I'm now trying to figure out a more sophisticated way
of doing this. I think setting the tbusy flag and returning 1
is a bad idea as well.

Can I do the following? When hard_start_xmit gets called
and I want to delay the transmission, can I just return 0,
but not free the skb yet? I then put it on a list,
which I maintain on my own. I then send it at a later time
and free the skb. Is there anything wrong with this approach?

I definitely want to avoid unnecessary data copying!

Thanks,

Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to