Linux Kernel
3.7.1
|
#include <linux/vmalloc.h>
#include <linux/netdevice.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/if_ether.h>
#include <linux/ethtool.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include "igb.h"
Go to the source code of this file.
Data Structures | |
struct | igb_stats |
struct | igb_reg_test |
Macros | |
#define | IGB_STAT(_name, _stat) |
#define | IGB_NETDEV_STAT(_net_stat) |
#define | IGB_GLOBAL_STATS_LEN (sizeof(igb_gstrings_stats) / sizeof(struct igb_stats)) |
#define | IGB_NETDEV_STATS_LEN (sizeof(igb_gstrings_net_stats) / sizeof(struct igb_stats)) |
#define | IGB_RX_QUEUE_STATS_LEN (sizeof(struct igb_rx_queue_stats) / sizeof(u64)) |
#define | IGB_TX_QUEUE_STATS_LEN 3 /* packets, bytes, restart_queue */ |
#define | IGB_QUEUE_STATS_LEN |
#define | IGB_STATS_LEN (IGB_GLOBAL_STATS_LEN + IGB_NETDEV_STATS_LEN + IGB_QUEUE_STATS_LEN) |
#define | IGB_TEST_LEN (sizeof(igb_gstrings_test) / ETH_GSTRING_LEN) |
#define | IGB_REGS_LEN 739 |
#define | PATTERN_TEST 1 |
#define | SET_READ_TEST 2 |
#define | WRITE_NO_TEST 3 |
#define | TABLE32_TEST 4 |
#define | TABLE64_TEST_LO 5 |
#define | TABLE64_TEST_HI 6 |
#define | REG_PATTERN_TEST(reg, mask, write) |
#define | REG_SET_AND_CHECK(reg, mask, write) |
#define | IGB_LED_ON 0 |
Functions | |
void | igb_set_ethtool_ops (struct net_device *netdev) |
Definition at line 113 of file igb_ethtool.c.
#define IGB_LED_ON 0 |
Definition at line 2071 of file igb_ethtool.c.
#define IGB_NETDEV_STAT | ( | _net_stat | ) |
Definition at line 96 of file igb_ethtool.c.
Definition at line 115 of file igb_ethtool.c.
#define IGB_QUEUE_STATS_LEN |
Definition at line 122 of file igb_ethtool.c.
#define IGB_REGS_LEN 739 |
#define IGB_RX_QUEUE_STATS_LEN (sizeof(struct igb_rx_queue_stats) / sizeof(u64)) |
Definition at line 117 of file igb_ethtool.c.
#define IGB_STAT | ( | _name, | |
_stat | |||
) |
Definition at line 49 of file igb_ethtool.c.
#define IGB_STATS_LEN (IGB_GLOBAL_STATS_LEN + IGB_NETDEV_STATS_LEN + IGB_QUEUE_STATS_LEN) |
Definition at line 127 of file igb_ethtool.c.
#define IGB_TEST_LEN (sizeof(igb_gstrings_test) / ETH_GSTRING_LEN) |
Definition at line 135 of file igb_ethtool.c.
Definition at line 120 of file igb_ethtool.c.
#define PATTERN_TEST 1 |
Definition at line 943 of file igb_ethtool.c.
#define SET_READ_TEST 2 |
Definition at line 944 of file igb_ethtool.c.
#define TABLE32_TEST 4 |
Definition at line 946 of file igb_ethtool.c.
#define TABLE64_TEST_HI 6 |
Definition at line 948 of file igb_ethtool.c.
#define TABLE64_TEST_LO 5 |
Definition at line 947 of file igb_ethtool.c.
#define WRITE_NO_TEST 3 |
Definition at line 945 of file igb_ethtool.c.
void igb_set_ethtool_ops | ( | struct net_device * | netdev | ) |
Definition at line 2390 of file igb_ethtool.c.