2009/7/27 Łukasz Jachymczyk <[email protected]>:
> Michael Blizek wrote:
>
>>>> 1) Congestion handling is usually done by the sender and not the
>>>> receiver.
>>>
>>> I'm not sure about this. After all I can send as much data over
>>> network as I can and the receiver might have not enough resources to
>>> handle it. Isn't receiver the one that should worry about
>>> congestion?
>
> I might not say it clearly, but my driver is sending only raw Ethernet
> frames. No TCP/IP. As you can see, it's very basic communication. Yet I
> would be happy to know when device driver is dropping packets.

Wouldn't the MAC controller take care of it?
http://en.wikipedia.org/wiki/Ethernet_flow_control

HTH,
-mandeep

>
> As I said, there used to be queue's cng_level struct member in netif_rx. It
> contained information about ingress traffic queue congestion level. But now
> it's gone and I can't figure out what else to use.
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to