linux/net/sched/sch_mq.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * net/sched/sch_mq.c		Classful multiqueue dummy scheduler
 *
 * Copyright (c) 2009 Patrick McHardy <[email protected]>
 */

#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <net/netlink.h>
#include <net/pkt_cls.h>
#include <net/pkt_sched.h>
#include <net/sch_generic.h>

struct mq_sched {};

static int mq_offload(struct Qdisc *sch, enum tc_mq_command cmd)
{}

static int mq_offload_stats(struct Qdisc *sch)
{}

static void mq_destroy(struct Qdisc *sch)
{}

static int mq_init(struct Qdisc *sch, struct nlattr *opt,
		   struct netlink_ext_ack *extack)
{}

static void mq_attach(struct Qdisc *sch)
{}

static int mq_dump(struct Qdisc *sch, struct sk_buff *skb)
{}

static struct netdev_queue *mq_queue_get(struct Qdisc *sch, unsigned long cl)
{}

static struct netdev_queue *mq_select_queue(struct Qdisc *sch,
					    struct tcmsg *tcm)
{}

static int mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new,
		    struct Qdisc **old, struct netlink_ext_ack *extack)
{}

static struct Qdisc *mq_leaf(struct Qdisc *sch, unsigned long cl)
{}

static unsigned long mq_find(struct Qdisc *sch, u32 classid)
{}

static int mq_dump_class(struct Qdisc *sch, unsigned long cl,
			 struct sk_buff *skb, struct tcmsg *tcm)
{}

static int mq_dump_class_stats(struct Qdisc *sch, unsigned long cl,
			       struct gnet_dump *d)
{}

static void mq_walk(struct Qdisc *sch, struct qdisc_walker *arg)
{}

static const struct Qdisc_class_ops mq_class_ops =;

struct Qdisc_ops mq_qdisc_ops __read_mostly =;