Linux Kernel
3.7.1
|
#include <linux/netdevice.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/kernel_stat.h>
#include <linux/pci.h>
#include <linux/ethtool.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/udp.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include "net_driver.h"
#include "efx.h"
#include "nic.h"
#include "selftest.h"
#include "workarounds.h"
Go to the source code of this file.
Data Structures | |
struct | efx_loopback_payload |
struct | efx_loopback_state |
Macros | |
#define | IRQ_TIMEOUT HZ |
#define | INT_MODE(efx) STRING_TABLE_LOOKUP(efx->interrupt_mode, efx_interrupt_mode) |
#define | LOOPBACK_TIMEOUT_MS 1000 |
Functions | |
void | efx_loopback_rx_packet (struct efx_nic *efx, const char *buf_ptr, int pkt_len) |
int | efx_selftest (struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags) |
void | efx_selftest_async_start (struct efx_nic *efx) |
void | efx_selftest_async_cancel (struct efx_nic *efx) |
void | efx_selftest_async_work (struct work_struct *data) |
Variables | |
struct efx_loopback_payload | __packed |
#define INT_MODE | ( | efx | ) | STRING_TABLE_LOOKUP(efx->interrupt_mode, efx_interrupt_mode) |
Definition at line 67 of file selftest.c.
#define IRQ_TIMEOUT HZ |
Definition at line 36 of file selftest.c.
#define LOOPBACK_TIMEOUT_MS 1000 |
Definition at line 91 of file selftest.c.
Definition at line 270 of file selftest.c.
int efx_selftest | ( | struct efx_nic * | efx, |
struct efx_self_tests * | tests, | ||
unsigned | flags | ||
) |
Definition at line 685 of file selftest.c.
Definition at line 777 of file selftest.c.
Definition at line 768 of file selftest.c.
void efx_selftest_async_work | ( | struct work_struct * | data | ) |
Definition at line 782 of file selftest.c.