Re: [PATCH v2] net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware

From
Oliver Hartkopp <socketcan@hartkopp.net>
Date
2019-10-22 18:21:08
Also in
linux-can
Reply to
Eric Dumazet, 2019-10-22
On 22/10/2019 19.28, Eric Dumazet wrote
On 10/22/19 9:42 AM, Stephen Hemminger wrote:
quoted
Why not fix fq_codel to return the same errors as other qdisc?
I believe the same problem would happen with any qdisc not doing tail drops.

Do we really want to enforce all qdisc to have a common drop strategy ?
CAN has no drop strategy. There is no transport protocol at this point which can handle and compensate drops. CAN is just about PDUs that are sent on a special medium.

And that's what this patch was about.
For example, FQ could implement a strategy dropping the oldest packet in the queue,
which is absolutely not related to the enqueue order.
We have a CAN ID related ematch rule in em_canid.c to be able to configure HTBs, delays or drops. But this is for testing and special use-cases. Silently dropped frames are not expected.

Regards,
Oliver


Thread (25 messages) 25 messages, 10 authors, last reply 2019-10-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help