Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
vxge-ethtool.h File Reference
#include "vxge-main.h"

Go to the source code of this file.

Macros

#define VXGE_TITLE_LEN   5
 
#define VXGE_HW_VPATH_STATS_LEN   27
 
#define VXGE_HW_AGGR_STATS_LEN   13
 
#define VXGE_HW_PORT_STATS_LEN   94
 
#define VXGE_HW_VPATH_TX_STATS_LEN   19
 
#define VXGE_HW_VPATH_RX_STATS_LEN   42
 
#define VXGE_SW_STATS_LEN   60
 
#define VXGE_HW_STATS_LEN
 
#define DRIVER_STAT_LEN   (sizeof(ethtool_driver_stats_keys)/ETH_GSTRING_LEN)
 
#define STAT_LEN   (VXGE_HW_STATS_LEN + DRIVER_STAT_LEN + VXGE_SW_STATS_LEN)
 
#define VXGE_MAX_FLICKER_TIME   (60 * HZ) /* 60 seconds */
 
#define VXGE_FLICKER_ON   1
 
#define VXGE_FLICKER_OFF   0
 
#define vxge_add_string(fmt, size, buf,...)
 

Macro Definition Documentation

#define DRIVER_STAT_LEN   (sizeof(ethtool_driver_stats_keys)/ETH_GSTRING_LEN)

Definition at line 54 of file vxge-ethtool.h.

Definition at line 55 of file vxge-ethtool.h.

#define vxge_add_string (   fmt,
  size,
  buf,
  ... 
)
Value:
{\
snprintf(buf + *size, ETH_GSTRING_LEN, fmt, __VA_ARGS__); \
}

Definition at line 62 of file vxge-ethtool.h.

#define VXGE_FLICKER_OFF   0

Definition at line 60 of file vxge-ethtool.h.

#define VXGE_FLICKER_ON   1

Definition at line 59 of file vxge-ethtool.h.

#define VXGE_HW_AGGR_STATS_LEN   13

Definition at line 43 of file vxge-ethtool.h.

#define VXGE_HW_PORT_STATS_LEN   94

Definition at line 44 of file vxge-ethtool.h.

#define VXGE_HW_STATS_LEN
Value:
VXGE_HW_AGGR_STATS_LEN +\
VXGE_HW_PORT_STATS_LEN +\
VXGE_HW_VPATH_TX_STATS_LEN +\
VXGE_HW_VPATH_RX_STATS_LEN)

Definition at line 48 of file vxge-ethtool.h.

#define VXGE_HW_VPATH_RX_STATS_LEN   42

Definition at line 46 of file vxge-ethtool.h.

#define VXGE_HW_VPATH_STATS_LEN   27

Definition at line 42 of file vxge-ethtool.h.

#define VXGE_HW_VPATH_TX_STATS_LEN   19

Definition at line 45 of file vxge-ethtool.h.

#define VXGE_MAX_FLICKER_TIME   (60 * HZ) /* 60 seconds */

Definition at line 58 of file vxge-ethtool.h.

#define VXGE_SW_STATS_LEN   60

Definition at line 47 of file vxge-ethtool.h.

#define VXGE_TITLE_LEN   5

Definition at line 41 of file vxge-ethtool.h.