Go to the source code of this file.
Defines | |
| #define | PFIFO_FAST_BANDS 3 |
Functions | |
| static int | qdisc_qlen (struct Qdisc *q) |
| static int | dev_requeue_skb (struct sk_buff *skb, struct Qdisc *q) |
| static struct sk_buff * | dequeue_skb (struct Qdisc *q) |
| static int | handle_dev_cpu_collision (struct sk_buff *skb, struct netdev_queue *dev_queue, struct Qdisc *q) |
| static int | qdisc_restart (struct Qdisc *q) |
| void | __qdisc_run (struct Qdisc *q) |
| static void | dev_watchdog (unsigned long arg) |
| void | __netdev_watchdog_up (struct net_device *dev) |
| static void | dev_watchdog_up (struct net_device *dev) |
| static void | dev_watchdog_down (struct net_device *dev) |
| void | netif_carrier_on (struct net_device *dev) |
| netif_carrier_on - set carrier : network device | |
| EXPORT_SYMBOL (netif_carrier_on) | |
| void | netif_carrier_off (struct net_device *dev) |
| netif_carrier_off - clear carrier : network device | |
| EXPORT_SYMBOL (netif_carrier_off) | |
| static int | noop_enqueue (struct sk_buff *skb, struct Qdisc *qdisc) |
| static struct sk_buff * | noop_dequeue (struct Qdisc *qdisc) |
| EXPORT_SYMBOL (noop_qdisc) | |
| static struct sk_buff_head * | prio2list (struct sk_buff *skb, struct Qdisc *qdisc) |
| static int | pfifo_fast_enqueue (struct sk_buff *skb, struct Qdisc *qdisc) |
| static struct sk_buff * | pfifo_fast_dequeue (struct Qdisc *qdisc) |
| static struct sk_buff * | pfifo_fast_peek (struct Qdisc *qdisc) |
| static void | pfifo_fast_reset (struct Qdisc *qdisc) |
| static int | pfifo_fast_dump (struct Qdisc *qdisc, struct sk_buff *skb) |
| static int | pfifo_fast_init (struct Qdisc *qdisc, struct nlattr *opt) |
| struct Qdisc * | qdisc_alloc (struct netdev_queue *dev_queue, struct Qdisc_ops *ops) |
| struct Qdisc * | qdisc_create_dflt (struct net_device *dev, struct netdev_queue *dev_queue, struct Qdisc_ops *ops, unsigned int parentid) |
| EXPORT_SYMBOL (qdisc_create_dflt) | |
| void | qdisc_reset (struct Qdisc *qdisc) |
| EXPORT_SYMBOL (qdisc_reset) | |
| void | qdisc_destroy (struct Qdisc *qdisc) |
| EXPORT_SYMBOL (qdisc_destroy) | |
| static bool | dev_all_qdisc_sleeping_noop (struct net_device *dev) |
| static void | attach_one_default_qdisc (struct net_device *dev, struct netdev_queue *dev_queue, void *_unused) |
| static void | transition_one_qdisc (struct net_device *dev, struct netdev_queue *dev_queue, void *_need_watchdog) |
| void | dev_activate (struct net_device *dev) |
| static void | dev_deactivate_queue (struct net_device *dev, struct netdev_queue *dev_queue, void *_qdisc_default) |
| static bool | some_qdisc_is_busy (struct net_device *dev) |
| void | dev_deactivate (struct net_device *dev) |
| static void | dev_init_scheduler_queue (struct net_device *dev, struct netdev_queue *dev_queue, void *_qdisc) |
| void | dev_init_scheduler (struct net_device *dev) |
| static void | shutdown_scheduler_queue (struct net_device *dev, struct netdev_queue *dev_queue, void *_qdisc_default) |
| void | dev_shutdown (struct net_device *dev) |
Variables | |
| struct Qdisc_ops noop_qdisc_ops | __read_mostly |
| static struct netdev_queue | noop_netdev_queue |
| struct Qdisc | noop_qdisc |
| static struct Qdisc | noqueue_qdisc |
| static struct netdev_queue | noqueue_netdev_queue |
| static const u8 | prio2band [TC_PRIO_MAX+1] |
| #define PFIFO_FAST_BANDS 3 |
Definition at line 376 of file sch_generic.c.
| void __netdev_watchdog_up | ( | struct net_device * | dev | ) |
Definition at line 244 of file sch_generic.c.
| void __qdisc_run | ( | struct Qdisc * | q | ) |
Definition at line 184 of file sch_generic.c.
| static void attach_one_default_qdisc | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| void * | _unused | |||
| ) | [static] |
Definition at line 585 of file sch_generic.c.
| static struct sk_buff* dequeue_skb | ( | struct Qdisc * | q | ) | [static, read] |
Definition at line 58 of file sch_generic.c.
| void dev_activate | ( | struct net_device * | dev | ) |
Definition at line 619 of file sch_generic.c.
| static bool dev_all_qdisc_sleeping_noop | ( | struct net_device * | dev | ) | [static] |
Definition at line 572 of file sch_generic.c.
| void dev_deactivate | ( | struct net_device * | dev | ) |
Definition at line 694 of file sch_generic.c.
| static void dev_deactivate_queue | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| void * | _qdisc_default | |||
| ) | [static] |
Definition at line 646 of file sch_generic.c.
| void dev_init_scheduler | ( | struct net_device * | dev | ) |
Definition at line 721 of file sch_generic.c.
| static void dev_init_scheduler_queue | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| void * | _qdisc | |||
| ) | [static] |
Definition at line 711 of file sch_generic.c.
| static int dev_requeue_skb | ( | struct sk_buff * | skb, | |
| struct Qdisc * | q | |||
| ) | [inline, static] |
Definition at line 49 of file sch_generic.c.
| void dev_shutdown | ( | struct net_device * | dev | ) |
Definition at line 744 of file sch_generic.c.
| static void dev_watchdog | ( | unsigned long | arg | ) | [static] |
Definition at line 203 of file sch_generic.c.
| static void dev_watchdog_down | ( | struct net_device * | dev | ) | [static] |
Definition at line 260 of file sch_generic.c.
| static void dev_watchdog_up | ( | struct net_device * | dev | ) | [static] |
Definition at line 255 of file sch_generic.c.
| EXPORT_SYMBOL | ( | qdisc_destroy | ) |
| EXPORT_SYMBOL | ( | qdisc_reset | ) |
| EXPORT_SYMBOL | ( | qdisc_create_dflt | ) |
| EXPORT_SYMBOL | ( | noop_qdisc | ) |
| EXPORT_SYMBOL | ( | netif_carrier_off | ) |
| EXPORT_SYMBOL | ( | netif_carrier_on | ) |
| static int handle_dev_cpu_collision | ( | struct sk_buff * | skb, | |
| struct netdev_queue * | dev_queue, | |||
| struct Qdisc * | q | |||
| ) | [inline, static] |
Definition at line 79 of file sch_generic.c.
| void netif_carrier_off | ( | struct net_device * | dev | ) |
netif_carrier_off - clear carrier : network device
Device has detected loss of carrier.
Definition at line 292 of file sch_generic.c.
| void netif_carrier_on | ( | struct net_device * | dev | ) |
netif_carrier_on - set carrier : network device
Device has detected that carrier.
Definition at line 274 of file sch_generic.c.
| static struct sk_buff* noop_dequeue | ( | struct Qdisc * | qdisc | ) | [static, read] |
Definition at line 313 of file sch_generic.c.
| static int noop_enqueue | ( | struct sk_buff * | skb, | |
| struct Qdisc * | qdisc | |||
| ) | [static] |
Definition at line 307 of file sch_generic.c.
| static struct sk_buff* pfifo_fast_dequeue | ( | struct Qdisc * | qdisc | ) | [static, read] |
Definition at line 397 of file sch_generic.c.
| static int pfifo_fast_dump | ( | struct Qdisc * | qdisc, | |
| struct sk_buff * | skb | |||
| ) | [static] |
Definition at line 437 of file sch_generic.c.
| static int pfifo_fast_enqueue | ( | struct sk_buff * | skb, | |
| struct Qdisc * | qdisc | |||
| ) | [static] |
Definition at line 385 of file sch_generic.c.
| static int pfifo_fast_init | ( | struct Qdisc * | qdisc, | |
| struct nlattr * | opt | |||
| ) | [static] |
Definition at line 453 of file sch_generic.c.
| static struct sk_buff* pfifo_fast_peek | ( | struct Qdisc * | qdisc | ) | [static, read] |
Definition at line 412 of file sch_generic.c.
| static void pfifo_fast_reset | ( | struct Qdisc * | qdisc | ) | [static] |
Definition at line 425 of file sch_generic.c.
| static struct sk_buff_head* prio2list | ( | struct sk_buff * | skb, | |
| struct Qdisc * | qdisc | |||
| ) | [static, read] |
Definition at line 378 of file sch_generic.c.
| struct Qdisc* qdisc_alloc | ( | struct netdev_queue * | dev_queue, | |
| struct Qdisc_ops * | ops | |||
| ) | [read] |
Definition at line 476 of file sch_generic.c.
| struct Qdisc* qdisc_create_dflt | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| struct Qdisc_ops * | ops, | |||
| unsigned int | parentid | |||
| ) | [read] |
Definition at line 508 of file sch_generic.c.
| void qdisc_destroy | ( | struct Qdisc * | qdisc | ) |
Definition at line 543 of file sch_generic.c.
| static int qdisc_qlen | ( | struct Qdisc * | q | ) | [inline, static] |
Definition at line 44 of file sch_generic.c.
| void qdisc_reset | ( | struct Qdisc * | qdisc | ) |
Definition at line 531 of file sch_generic.c.
| static int qdisc_restart | ( | struct Qdisc * | q | ) | [inline, static] |
Definition at line 128 of file sch_generic.c.
| static void shutdown_scheduler_queue | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| void * | _qdisc_default | |||
| ) | [static] |
Definition at line 729 of file sch_generic.c.
| static bool some_qdisc_is_busy | ( | struct net_device * | dev | ) | [static] |
Definition at line 667 of file sch_generic.c.
| static void transition_one_qdisc | ( | struct net_device * | dev, | |
| struct netdev_queue * | dev_queue, | |||
| void * | _need_watchdog | |||
| ) | [static] |
Definition at line 604 of file sch_generic.c.
struct Qdisc_ops pfifo_fast_ops __read_mostly [read] |
Initial value:
{
.id = "noop",
.priv_size = 0,
.enqueue = noop_enqueue,
.dequeue = noop_dequeue,
.peek = noop_dequeue,
.owner = THIS_MODULE,
}
Definition at line 318 of file sch_generic.c.
struct netdev_queue noop_netdev_queue [static] |
Initial value:
{
.qdisc = &noop_qdisc,
.qdisc_sleeping = &noop_qdisc,
}
Definition at line 327 of file sch_generic.c.
| struct Qdisc noop_qdisc |
Initial value:
{
.enqueue = noop_enqueue,
.dequeue = noop_dequeue,
.flags = TCQ_F_BUILTIN,
.ops = &noop_qdisc_ops,
.list = LIST_HEAD_INIT(noop_qdisc.list),
.q.lock = __SPIN_LOCK_UNLOCKED(noop_qdisc.q.lock),
.dev_queue = &noop_netdev_queue,
}
Definition at line 332 of file sch_generic.c.
struct netdev_queue noqueue_netdev_queue [static] |
Initial value:
{
.qdisc = &noqueue_qdisc,
.qdisc_sleeping = &noqueue_qdisc,
}
Definition at line 353 of file sch_generic.c.
static struct Qdisc noqueue_qdisc [static, read] |
Initial value:
{
.enqueue = NULL,
.dequeue = noop_dequeue,
.flags = TCQ_F_BUILTIN,
.ops = &noqueue_qdisc_ops,
.list = LIST_HEAD_INIT(noqueue_qdisc.list),
.q.lock = __SPIN_LOCK_UNLOCKED(noqueue_qdisc.q.lock),
.dev_queue = &noqueue_netdev_queue,
}
Definition at line 352 of file sch_generic.c.
const u8 prio2band[TC_PRIO_MAX+1] [static] |
Initial value:
{ 1, 2, 2, 2, 1, 2, 0, 0 , 1, 1, 1, 1, 1, 1, 1, 1 }
Definition at line 369 of file sch_generic.c.
1.5.6