sch_mqprio.c (653d6fd68d8e5b43d496ca8a1d38331d515a226b) | sch_mqprio.c (a38a98821c939e67e5906bddbed1d15af5ca860d) |
---|---|
1/* 2 * net/sched/sch_mqprio.c 3 * 4 * Copyright (c) 2010 John Fastabend <john.r.fastabend@intel.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * version 2 as published by the Free Software Foundation. --- 216 unchanged lines hidden (view full) --- 225 if (!priv->qdiscs) 226 return -ENOMEM; 227 228 for (i = 0; i < dev->num_tx_queues; i++) { 229 dev_queue = netdev_get_tx_queue(dev, i); 230 qdisc = qdisc_create_dflt(dev_queue, 231 get_default_qdisc_ops(dev, i), 232 TC_H_MAKE(TC_H_MAJ(sch->handle), | 1/* 2 * net/sched/sch_mqprio.c 3 * 4 * Copyright (c) 2010 John Fastabend <john.r.fastabend@intel.com> 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * version 2 as published by the Free Software Foundation. --- 216 unchanged lines hidden (view full) --- 225 if (!priv->qdiscs) 226 return -ENOMEM; 227 228 for (i = 0; i < dev->num_tx_queues; i++) { 229 dev_queue = netdev_get_tx_queue(dev, i); 230 qdisc = qdisc_create_dflt(dev_queue, 231 get_default_qdisc_ops(dev, i), 232 TC_H_MAKE(TC_H_MAJ(sch->handle), |
233 TC_H_MIN(i + 1))); | 233 TC_H_MIN(i + 1)), extack); |
234 if (!qdisc) 235 return -ENOMEM; 236 237 priv->qdiscs[i] = qdisc; 238 qdisc->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT; 239 } 240 241 /* If the mqprio options indicate that hardware should own --- 404 unchanged lines hidden --- | 234 if (!qdisc) 235 return -ENOMEM; 236 237 priv->qdiscs[i] = qdisc; 238 qdisc->flags |= TCQ_F_ONETXQUEUE | TCQ_F_NOPARENT; 239 } 240 241 /* If the mqprio options indicate that hardware should own --- 404 unchanged lines hidden --- |