#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/pm.h>
#include <linux/ethtool.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/slab.h>
#include <asm/hvcall.h>
#include <linux/atomic.h>
#include <asm/vio.h>
#include <asm/iommu.h>
#include <asm/firmware.h>
#include "ibmveth.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Santiago Leon <[email protected]>") |
|
| MODULE_DESCRIPTION ("IBM Power Virtual Ethernet Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (ibmveth_driver_version) |
|
| module_param (tx_copybreak, uint, 0644) |
|
| MODULE_PARM_DESC (tx_copybreak,"Maximum size of packet that is copied to a new buffer on transmit") |
|
| module_param (rx_copybreak, uint, 0644) |
|
| MODULE_PARM_DESC (rx_copybreak,"Maximum size of packet that is copied to a new buffer on receive") |
|
| module_param (rx_flush, uint, 0644) |
|
| MODULE_PARM_DESC (rx_flush,"Flush receive buffers before use") |
|
| MODULE_DEVICE_TABLE (vio, ibmveth_device_table) |
|
| module_init (ibmveth_module_init) |
|
| module_exit (ibmveth_module_exit) |
|
#define ATTR |
( |
|
_name, |
|
|
|
_mode |
|
) |
| |
#define ibmveth_driver_version "1.04" |
#define IBMVETH_GET_STAT |
( |
|
a, |
|
|
|
off |
|
) |
| *((u64 *)(((unsigned long)(a)) + off)) |
#define page_offset |
( |
|
v | ) |
((unsigned long)(v) & ((1 << 12) - 1)) |
MODULE_DESCRIPTION |
( |
"IBM Power Virtual Ethernet Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
vio |
, |
|
|
ibmveth_device_table |
|
|
) |
| |
module_exit |
( |
ibmveth_module_exit |
| ) |
|
module_init |
( |
ibmveth_module_init |
| ) |
|
module_param |
( |
tx_copybreak |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
rx_copybreak |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
rx_flush |
, |
|
|
uint |
, |
|
|
0644 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
tx_copybreak |
, |
|
|
"Maximum size of packet that is copied to a new buffer on transmit" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
rx_copybreak |
, |
|
|
"Maximum size of packet that is copied to a new buffer on receive" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
rx_flush |
, |
|
|
"Flush receive buffers before use" |
|
|
) |
| |
Initial value:= {
{ "replenish_add_buff_failure",
{ "replenish_add_buff_success",
}
Definition at line 91 of file ibmveth.c.