#include <linux/module.h>
#include <linux/init.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/irq.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/ioctl.h>
#include <linux/cdev.h>
#include <linux/hugetlb.h>
#include <linux/in6.h>
#include <linux/timer.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>
#include <linux/io.h>
#include <linux/ctype.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <asm/checksum.h>
#include <asm/homecache.h>
#include <gxio/mpipe.h>
#include <arch/sim.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Tilera Corporation") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param_named (cpus, network_cpus_string, charp, 0444) |
|
| MODULE_PARM_DESC (cpus,"cpulist of cores that handle network interrupts") |
|
| module_param_named (loopify, loopify_link_name, charp, 0444) |
|
| MODULE_PARM_DESC (loopify,"name the device to use loop0/1 for ingress/egress") |
|
| module_param_named (custom, custom_str, charp, 0444) |
|
| MODULE_PARM_DESC (custom,"indicates a (heavily) customized classifier") |
|
| module_init (tile_net_init_module) |
|
#define BUFFER_SIZE_LARGE 1664 |
#define BUFFER_SIZE_SMALL 128 |
#define EGRESS_TIMER_DELAY_USEC 1000 |
#define EQUEUE_ENTRIES 2048 |
#define IQUEUE_ENTRIES 512 |
#define TILE_NET_BATCH 128 |
#define TILE_NET_CHANNELS 32 |
#define TILE_NET_MAX_COMPS 64 |
#define TILE_NET_TIMEOUT (5 * HZ) |
#define TILE_NET_WEIGHT 64 |
#define TX_TIMER_DELAY_USEC 30 |
MODULE_AUTHOR |
( |
"Tilera Corporation" |
| ) |
|
module_init |
( |
tile_net_init_module |
| ) |
|
module_param_named |
( |
cpus |
, |
|
|
network_cpus_string |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param_named |
( |
loopify |
, |
|
|
loopify_link_name |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param_named |
( |
custom |
, |
|
|
custom_str |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
cpus |
, |
|
|
"cpulist of cores that handle network interrupts" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
loopify |
, |
|
|
"name the device to use loop0/1 for ingress/egress" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
custom |
, |
|
|
"indicates a (heavily) customized classifier" |
|
|
) |
| |