Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ixgb_ethtool.c File Reference
#include "ixgb.h"
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  ixgb_stats
 

Macros

#define IXGB_ALL_RAR_ENTRIES   16
 
#define IXGB_STAT(m)
 
#define IXGB_NETDEV_STAT(m)
 
#define IXGB_STATS_LEN   ARRAY_SIZE(ixgb_gstrings_stats)
 
#define IXGB_GET_STAT(_A_, _R_)   _A_->stats._R_
 
#define IXGB_REG_DUMP_LEN   136*sizeof(u32)
 

Enumerations

enum  { NETDEV_STATS, IXGB_STATS }
 

Functions

void ixgb_set_speed_duplex (struct net_device *netdev)
 
void ixgb_set_ethtool_ops (struct net_device *netdev)
 

Macro Definition Documentation

#define IXGB_ALL_RAR_ENTRIES   16

Definition at line 35 of file ixgb_ethtool.c.

#define IXGB_GET_STAT (   _A_,
  _R_ 
)    _A_->stats._R_

Definition at line 210 of file ixgb_ethtool.c.

#define IXGB_NETDEV_STAT (   m)
Value:
FIELD_SIZEOF(struct net_device, m), \
offsetof(struct net_device, m)

Definition at line 49 of file ixgb_ethtool.c.

#define IXGB_REG_DUMP_LEN   136*sizeof(u32)
#define IXGB_STAT (   m)
Value:
FIELD_SIZEOF(struct ixgb_adapter, m), \
offsetof(struct ixgb_adapter, m)

Definition at line 46 of file ixgb_ethtool.c.

#define IXGB_STATS_LEN   ARRAY_SIZE(ixgb_gstrings_stats)

Definition at line 94 of file ixgb_ethtool.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
NETDEV_STATS 
IXGB_STATS 

Definition at line 37 of file ixgb_ethtool.c.

Function Documentation

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.