Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
qlge_ethtool.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/pagemap.h>
#include <linux/sched.h>
#include <linux/dmapool.h>
#include <linux/mempool.h>
#include <linux/spinlock.h>
#include <linux/kthread.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <net/ipv6.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/if_vlan.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include "qlge.h"

Go to the source code of this file.

Data Structures

struct  ql_stats
 

Macros

#define QL_SIZEOF(m)   FIELD_SIZEOF(struct ql_adapter, m)
 
#define QL_OFF(m)   offsetof(struct ql_adapter, m)
 
#define QLGE_TEST_LEN   (sizeof(ql_gstrings_test) / ETH_GSTRING_LEN)
 
#define QLGE_STATS_LEN   ARRAY_SIZE(ql_gstrings_stats)
 

Functions

void ql_check_lb_frame (struct ql_adapter *qdev, struct sk_buff *skb)
 

Variables

struct ethtool_ops qlge_ethtool_ops
 

Macro Definition Documentation

#define QL_OFF (   m)    offsetof(struct ql_adapter, m)

Definition at line 45 of file qlge_ethtool.c.

#define QL_SIZEOF (   m)    FIELD_SIZEOF(struct ql_adapter, m)

Definition at line 44 of file qlge_ethtool.c.

#define QLGE_STATS_LEN   ARRAY_SIZE(ql_gstrings_stats)

Definition at line 183 of file qlge_ethtool.c.

#define QLGE_TEST_LEN   (sizeof(ql_gstrings_test) / ETH_GSTRING_LEN)

Definition at line 182 of file qlge_ethtool.c.

Function Documentation

void ql_check_lb_frame ( struct ql_adapter qdev,
struct sk_buff skb 
)

Definition at line 515 of file qlge_ethtool.c.

Variable Documentation

struct ethtool_ops qlge_ethtool_ops
Initial value:
= {
.get_settings = ql_get_settings,
.get_drvinfo = ql_get_drvinfo,
.get_wol = ql_get_wol,
.set_wol = ql_set_wol,
.get_regs_len = ql_get_regs_len,
.get_regs = ql_get_regs,
.get_msglevel = ql_get_msglevel,
.set_msglevel = ql_set_msglevel,
.get_link = ethtool_op_get_link,
.set_phys_id = ql_set_phys_id,
.self_test = ql_self_test,
.get_pauseparam = ql_get_pauseparam,
.set_pauseparam = ql_set_pauseparam,
.get_coalesce = ql_get_coalesce,
.set_coalesce = ql_set_coalesce,
.get_sset_count = ql_get_sset_count,
.get_strings = ql_get_strings,
.get_ethtool_stats = ql_get_ethtool_stats,
}

Definition at line 712 of file qlge_ethtool.c.