Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/netdevice.h>
#include <linux/ethtool.h>
#include "qlcnic.h"
Go to the source code of this file.
Data Structures | |
struct | qlcnic_stats |
Macros | |
#define | QLC_SIZEOF(m) FIELD_SIZEOF(struct qlcnic_adapter, m) |
#define | QLC_OFF(m) offsetof(struct qlcnic_adapter, m) |
#define | QLCNIC_STATS_LEN ARRAY_SIZE(qlcnic_gstrings_stats) |
#define | QLCNIC_MAC_STATS_LEN ARRAY_SIZE(qlcnic_mac_stats_strings) |
#define | QLCNIC_DEVICE_STATS_LEN ARRAY_SIZE(qlcnic_device_gstrings_stats) |
#define | QLCNIC_TOTAL_STATS_LEN QLCNIC_STATS_LEN + QLCNIC_MAC_STATS_LEN |
#define | QLCNIC_TEST_LEN ARRAY_SIZE(qlcnic_gstrings_test) |
#define | QLCNIC_RING_REGS_COUNT 20 |
#define | QLCNIC_RING_REGS_LEN (QLCNIC_RING_REGS_COUNT * sizeof(u32)) |
#define | QLCNIC_MAX_EEPROM_LEN 1024 |
#define | QLCNIC_MGMT_API_VERSION 2 |
#define | QLCNIC_DEV_INFO_SIZE 1 |
#define | QLCNIC_ETHTOOL_REGS_VER 2 |
#define | QLCNIC_ILB_PKT_SIZE 64 |
#define | QLCNIC_NUM_ILB_PKT 16 |
#define | QLCNIC_ILB_MAX_RCV_LOOP 10 |
Functions | |
int | qlcnic_check_loopback_buff (unsigned char *data, u8 mac[]) |
Variables | |
struct ethtool_ops | qlcnic_ethtool_ops |
struct ethtool_ops | qlcnic_ethtool_failed_ops |
#define QLC_OFF | ( | m | ) | offsetof(struct qlcnic_adapter, m) |
Definition at line 24 of file qlcnic_ethtool.c.
#define QLC_SIZEOF | ( | m | ) | FIELD_SIZEOF(struct qlcnic_adapter, m) |
Definition at line 23 of file qlcnic_ethtool.c.
#define QLCNIC_DEV_INFO_SIZE 1 |
Definition at line 159 of file qlcnic_ethtool.c.
#define QLCNIC_DEVICE_STATS_LEN ARRAY_SIZE(qlcnic_device_gstrings_stats) |
Definition at line 119 of file qlcnic_ethtool.c.
#define QLCNIC_ETHTOOL_REGS_VER 2 |
Definition at line 160 of file qlcnic_ethtool.c.
#define QLCNIC_ILB_MAX_RCV_LOOP 10 |
Definition at line 731 of file qlcnic_ethtool.c.
#define QLCNIC_ILB_PKT_SIZE 64 |
Definition at line 729 of file qlcnic_ethtool.c.
#define QLCNIC_MAC_STATS_LEN ARRAY_SIZE(qlcnic_mac_stats_strings) |
Definition at line 118 of file qlcnic_ethtool.c.
#define QLCNIC_MAX_EEPROM_LEN 1024 |
Definition at line 134 of file qlcnic_ethtool.c.
#define QLCNIC_MGMT_API_VERSION 2 |
Definition at line 158 of file qlcnic_ethtool.c.
#define QLCNIC_NUM_ILB_PKT 16 |
Definition at line 730 of file qlcnic_ethtool.c.
#define QLCNIC_RING_REGS_COUNT 20 |
Definition at line 132 of file qlcnic_ethtool.c.
#define QLCNIC_RING_REGS_LEN (QLCNIC_RING_REGS_COUNT * sizeof(u32)) |
Definition at line 133 of file qlcnic_ethtool.c.
#define QLCNIC_STATS_LEN ARRAY_SIZE(qlcnic_gstrings_stats) |
Definition at line 117 of file qlcnic_ethtool.c.
#define QLCNIC_TEST_LEN ARRAY_SIZE(qlcnic_gstrings_test) |
Definition at line 130 of file qlcnic_ethtool.c.
#define QLCNIC_TOTAL_STATS_LEN QLCNIC_STATS_LEN + QLCNIC_MAC_STATS_LEN |
Definition at line 120 of file qlcnic_ethtool.c.
Definition at line 745 of file qlcnic_ethtool.c.
struct ethtool_ops qlcnic_ethtool_failed_ops |
Definition at line 1387 of file qlcnic_ethtool.c.
struct ethtool_ops qlcnic_ethtool_ops |
Definition at line 1356 of file qlcnic_ethtool.c.