mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 07:16:21 +09:00
Merge pull request #58 from nefethael/feature/can-fq-4.14
net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware
This commit is contained in:
commit
6da05a37e7
|
@ -768,6 +768,8 @@ static void attach_one_default_qdisc(struct net_device *dev,
|
|||
|
||||
if (dev->priv_flags & IFF_NO_QUEUE)
|
||||
ops = &noqueue_qdisc_ops;
|
||||
else if(dev->type == ARPHRD_CAN)
|
||||
ops = &pfifo_fast_ops;
|
||||
|
||||
qdisc = qdisc_create_dflt(dev_queue, ops, TC_H_ROOT);
|
||||
if (!qdisc) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user