Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include <linux/mlx4/driver.h>
#include "mlx4_en.h"
#include "en_port.h"
Go to the source code of this file.
Macros | |
#define | EN_ETHTOOL_QP_ATTACH (1ull << 63) |
#define | EN_ETHTOOL_SHORT_MASK cpu_to_be16(0xffff) |
#define | EN_ETHTOOL_WORD_MASK cpu_to_be32(0xffffffff) |
#define | NUM_MAIN_STATS 21 |
#define | NUM_ALL_STATS (NUM_MAIN_STATS + NUM_PORT_STATS + NUM_PKT_STATS + NUM_PERF_STATS) |
#define | all_zeros_or_all_ones(field) ((field) == 0 || (field) == (__force typeof(field))-1) |
Variables | |
struct ethtool_ops | mlx4_en_ethtool_ops |
Definition at line 606 of file en_ethtool.c.
#define EN_ETHTOOL_QP_ATTACH (1ull << 63) |
Definition at line 42 of file en_ethtool.c.
#define EN_ETHTOOL_SHORT_MASK cpu_to_be16(0xffff) |
Definition at line 43 of file en_ethtool.c.
#define EN_ETHTOOL_WORD_MASK cpu_to_be32(0xffffffff) |
Definition at line 44 of file en_ethtool.c.
#define NUM_ALL_STATS (NUM_MAIN_STATS + NUM_PORT_STATS + NUM_PKT_STATS + NUM_PERF_STATS) |
Definition at line 87 of file en_ethtool.c.
#define NUM_MAIN_STATS 21 |
Definition at line 86 of file en_ethtool.c.
struct ethtool_ops mlx4_en_ethtool_ops |
Definition at line 1001 of file en_ethtool.c.