Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/pkt_sched.h>
#include <net/sch_generic.h>
#include <net/pkt_sched.h>
#include <net/pkt_cls.h>
Go to the source code of this file.
Data Structures | |
struct | qfq_class |
struct | qfq_group |
struct | qfq_sched |
Macros | |
#define | QFQ_MAX_SLOTS 32 |
#define | QFQ_MAX_INDEX 24 |
#define | QFQ_MAX_WSHIFT 12 |
#define | QFQ_MAX_WEIGHT (1<<QFQ_MAX_WSHIFT) |
#define | QFQ_MAX_WSUM (16*QFQ_MAX_WEIGHT) |
#define | FRAC_BITS 30 /* fixed point arithmetic */ |
#define | ONE_FP (1UL << FRAC_BITS) |
#define | IWSUM (ONE_FP/QFQ_MAX_WSUM) |
#define | QFQ_MTU_SHIFT 16 /* to support TSO/GSO */ |
#define | QFQ_MIN_SLOT_SHIFT (FRAC_BITS + QFQ_MTU_SHIFT - QFQ_MAX_INDEX) |
#define | QFQ_MIN_LMAX 256 /* min possible lmax for a class */ |
Enumerations | |
enum | qfq_state { ER, IR, EB, IB, QFQ_MAX_STATE } |
Functions | |
module_init (qfq_init) | |
module_exit (qfq_exit) | |
MODULE_LICENSE ("GPL") | |
#define IWSUM (ONE_FP/QFQ_MAX_WSUM) |
#define QFQ_MAX_WEIGHT (1<<QFQ_MAX_WSHIFT) |
#define QFQ_MAX_WSUM (16*QFQ_MAX_WEIGHT) |
#define QFQ_MIN_SLOT_SHIFT (FRAC_BITS + QFQ_MTU_SHIFT - QFQ_MAX_INDEX) |
module_exit | ( | qfq_exit | ) |
module_init | ( | qfq_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |