diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2017-11-06 07:23:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 12:23:38 +0900 |
commit | 575ed7d39e2fbe602a3894bc766a8cb49af83bd3 (patch) | |
tree | 6e54c52602a685af1c26815af0416ab5d2765b74 /net/sched/sch_mqprio.c | |
parent | 602f3baf22188aad24b9a58be3209ab774b97d74 (diff) | |
download | talos-obmc-linux-575ed7d39e2fbe602a3894bc766a8cb49af83bd3.tar.gz talos-obmc-linux-575ed7d39e2fbe602a3894bc766a8cb49af83bd3.zip |
net_sch: mqprio: Change TC_SETUP_MQPRIO to TC_SETUP_QDISC_MQPRIO
Change TC_SETUP_MQPRIO to TC_SETUP_QDISC_MQPRIO to match the new
convention.
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_mqprio.c')
-rw-r--r-- | net/sched/sch_mqprio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sched/sch_mqprio.c b/net/sched/sch_mqprio.c index 4d5ed45123f0..b85885a9d8a1 100644 --- a/net/sched/sch_mqprio.c +++ b/net/sched/sch_mqprio.c @@ -50,7 +50,8 @@ static void mqprio_destroy(struct Qdisc *sch) switch (priv->mode) { case TC_MQPRIO_MODE_DCB: case TC_MQPRIO_MODE_CHANNEL: - dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_MQPRIO, + dev->netdev_ops->ndo_setup_tc(dev, + TC_SETUP_QDISC_MQPRIO, &mqprio); break; default: @@ -265,7 +266,7 @@ static int mqprio_init(struct Qdisc *sch, struct nlattr *opt) return -EINVAL; } err = dev->netdev_ops->ndo_setup_tc(dev, - TC_SETUP_MQPRIO, + TC_SETUP_QDISC_MQPRIO, &mqprio); if (err) return err; |