Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: datarates: any experiences?
Bart De Gruyter writes:
> The tcp/ip stack definitely filters out the data somewhere
> as I've also changed the priority of the receiving program
> to -20 and the linux box is doing nothing else ;-)
>
> I'll move my question to a more linux tcp/ip stack related
> list as it is getting off topic here.
>
> Thanks for reassuring that when the ifconfig has it in the
> stats then the linux tcp/ip stack should have received it.
It received it but the TCP/IP stack still might have dropped it.
I currently only declare the packet dropped if I did not get
a buffer from the network layer.
I do not check what netif_rx() returns.
You could change the DVB network driver to use the return value
of netif_rx() in the statistics. The possible return values are:
NET_RX_SUCCESS (no congestion)
NET_RX_CN_LOW (low congestion)
NET_RX_CN_MOD (moderate congestion)
NET_RX_CN_HIGH (high congestion)
NET_RX_DROP (packet was dropped)
This way you can be absolutely certain if the upper layers dropped
the packet or something else went wrong.
Ralph
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index