Linux Kernel
3.7.1
|
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/pagemap.h>
#include <linux/dma-mapping.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <linux/capability.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <net/pkt_sched.h>
#include <linux/list.h>
#include <linux/reboot.h>
#include <net/checksum.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
#include "ixgb_hw.h"
#include "ixgb_ee.h"
#include "ixgb_ids.h"
Go to the source code of this file.
Data Structures | |
struct | ixgb_buffer |
struct | ixgb_desc_ring |
struct | ixgb_adapter |
Macros | |
#define | BAR_0 0 |
#define | BAR_1 1 |
#define | BAR_5 5 |
#define | DEFAULT_TXD 256 |
#define | MAX_TXD 4096 |
#define | MIN_TXD 64 |
#define | DEFAULT_RXD 512 |
#define | MAX_RXD 512 |
#define | MIN_RXD 64 |
#define | IXGB_RXBUFFER_2048 2048 |
#define | IXGB_RXBUFFER_4096 4096 |
#define | IXGB_RXBUFFER_8192 8192 |
#define | IXGB_RXBUFFER_16384 16384 |
#define | IXGB_RX_BUFFER_WRITE 8 /* Must be power of 2 */ |
#define | IXGB_DESC_UNUSED(R) |
#define | IXGB_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i])) |
#define | IXGB_RX_DESC(R, i) IXGB_GET_DESC(R, i, ixgb_rx_desc) |
#define | IXGB_TX_DESC(R, i) IXGB_GET_DESC(R, i, ixgb_tx_desc) |
#define | IXGB_CONTEXT_DESC(R, i) IXGB_GET_DESC(R, i, ixgb_context_desc) |
Enumerations | |
enum | ixgb_state_t { __IXGB_DOWN } |
Functions | |
void | ixgb_check_options (struct ixgb_adapter *adapter) |
void | ixgb_set_ethtool_ops (struct net_device *netdev) |
void | ixgb_set_speed_duplex (struct net_device *netdev) |
int | ixgb_up (struct ixgb_adapter *adapter) |
void | ixgb_down (struct ixgb_adapter *adapter, bool kill_watchdog) |
void | ixgb_reset (struct ixgb_adapter *adapter) |
int | ixgb_setup_rx_resources (struct ixgb_adapter *adapter) |
int | ixgb_setup_tx_resources (struct ixgb_adapter *adapter) |
void | ixgb_free_rx_resources (struct ixgb_adapter *adapter) |
void | ixgb_free_tx_resources (struct ixgb_adapter *adapter) |
void | ixgb_update_stats (struct ixgb_adapter *adapter) |
Variables | |
char | ixgb_driver_name [] |
const char | ixgb_driver_version [] |
#define IXGB_CONTEXT_DESC | ( | R, | |
i | |||
) | IXGB_GET_DESC(R, i, ixgb_context_desc) |
#define IXGB_DESC_UNUSED | ( | R | ) |
#define IXGB_RX_DESC | ( | R, | |
i | |||
) | IXGB_GET_DESC(R, i, ixgb_rx_desc) |
#define IXGB_TX_DESC | ( | R, | |
i | |||
) | IXGB_GET_DESC(R, i, ixgb_tx_desc) |
enum ixgb_state_t |
void ixgb_check_options | ( | struct ixgb_adapter * | adapter | ) |
ixgb_check_options - Range Checking for Command Line Parameters : board private structure
This routine checks all command line parameters for valid user input. If an invalid value is given, or if no user specified value exists, a default value is used. The final value is stored in a variable in the adapter structure.
Definition at line 261 of file ixgb_param.c.
void ixgb_down | ( | struct ixgb_adapter * | adapter, |
bool | kill_watchdog | ||
) |
Definition at line 279 of file ixgb_main.c.
void ixgb_free_rx_resources | ( | struct ixgb_adapter * | adapter | ) |
ixgb_free_rx_resources - Free Rx Resources : board private structure
Free all receive software resources
Definition at line 1006 of file ixgb_main.c.
void ixgb_free_tx_resources | ( | struct ixgb_adapter * | adapter | ) |
ixgb_free_tx_resources - Free Tx Resources : board private structure
Free all transmit software resources
Definition at line 925 of file ixgb_main.c.
void ixgb_reset | ( | struct ixgb_adapter * | adapter | ) |
Definition at line 308 of file ixgb_main.c.
void ixgb_set_ethtool_ops | ( | struct net_device * | netdev | ) |
Definition at line 657 of file ixgb_ethtool.c.
void ixgb_set_speed_duplex | ( | struct net_device * | netdev | ) |
Definition at line 118 of file ixgb_ethtool.c.
int ixgb_setup_rx_resources | ( | struct ixgb_adapter * | adapter | ) |
ixgb_setup_rx_resources - allocate Rx resources (Descriptors) : board private structure
Returns 0 on success, negative on failure
Definition at line 793 of file ixgb_main.c.
int ixgb_setup_tx_resources | ( | struct ixgb_adapter * | adapter | ) |
ixgb_setup_tx_resources - allocate Tx resources (Descriptors) : board private structure
Return 0 on success, negative on failure
Definition at line 704 of file ixgb_main.c.
int ixgb_up | ( | struct ixgb_adapter * | adapter | ) |
Definition at line 205 of file ixgb_main.c.
void ixgb_update_stats | ( | struct ixgb_adapter * | adapter | ) |
ixgb_update_stats - Update the board statistics counters. : board private structure
Definition at line 1671 of file ixgb_main.c.
char ixgb_driver_name[] |
Definition at line 34 of file ixgb_main.c.
Definition at line 39 of file ixgb_main.c.