#include <linux/module.h>
#include <linux/ethtool.h>
#include <linux/vmalloc.h>
#include <linux/if_vlan.h>
#include <asm/ibmebus.h>
#include <asm/io.h>
Go to the source code of this file.
#define DLPAR_PORT_ADD_REM 1 |
#define DRV_VERSION "EHEA_0107" |
#define EHEA_BCMC_BROADCAST 0x00 |
#define EHEA_BCMC_MULTICAST 0x04 |
#define EHEA_BCMC_SCOPE_ALL 0x08 |
#define EHEA_BCMC_SCOPE_SINGLE 0x00 |
#define EHEA_BCMC_TAGGED 0x00 |
#define EHEA_BCMC_UNTAGGED 0x02 |
#define EHEA_BCMC_VLANID_ALL 0x01 |
#define EHEA_BCMC_VLANID_SINGLE 0x00 |
#define EHEA_BMASK_IBM |
( |
|
from, |
|
|
|
to |
|
) |
| (((63 - to) << 16) + ((to) - (from) + 1)) |
#define EHEA_BMASK_MASK |
( |
|
mask | ) |
(0xffffffffffffffffULL >> ((64 - (mask)) & 0xffff)) |
#define EHEA_BMASK_SHIFTPOS |
( |
|
mask | ) |
(((mask) >> 16) & 0xffff) |
#define EHEA_BUSMAP_START 0x8000000000000000ULL |
#define EHEA_CACHE_LINE 128 |
#define EHEA_DEF_ENTRIES_RQ1 1023 |
#define EHEA_DEF_ENTRIES_RQ2 1023 |
#define EHEA_DEF_ENTRIES_RQ3 511 |
#define EHEA_DEF_ENTRIES_SQ 1023 |
#define EHEA_DIR_INDEX_SHIFT 13 /* 8k Entries in 64k block */ |
#define EHEA_INVAL_ADDR 0xFFFFFFFFFFFFFFFFULL |
#define EHEA_IRQ_NAME_SIZE 20 |
#define EHEA_MAP_SIZE (0x10000) /* currently fixed map size */ |
#define EHEA_MAX_CQE_COUNT 1023 |
#define EHEA_MAX_ENTRIES_EQ 20 |
#define EHEA_MAX_ENTRIES_RQ1 32767 |
#define EHEA_MAX_ENTRIES_RQ2 16383 |
#define EHEA_MAX_ENTRIES_RQ3 16383 |
#define EHEA_MAX_ENTRIES_SQ 32767 |
#define EHEA_MAX_PACKET_SIZE 9022 /* for jumbo frames */ |
#define EHEA_MAX_PORT_RES 16 |
#define EHEA_MAX_PORTS 16 |
#define EHEA_MIN_ENTRIES_QP 127 |
#define EHEA_MR_ACC_CTRL 0x00800000 |
Value:
Definition at line 49 of file ehea.h.
#define EHEA_NUM_PORT_FW_HANDLES 1 /* EQ handle */ |
#define EHEA_NUM_PORTRES_FW_HANDLES |
Value:
Definition at line 386 of file ehea.h.
#define EHEA_PD_ID 0xaabcdeff |
#define EHEA_PHY_LINK_DOWN 0 |
#define EHEA_PHY_LINK_UP 1 |
#define EHEA_RQ2_PKT_SIZE 2048 |
#define EHEA_RQ2_THRESHOLD 1 |
#define EHEA_SMALL_QUEUES |
#define EHEA_SPEED_100M 100 |
#define EHEA_SPEED_10G 10000 |
#define EHEA_SPEED_10M 10 |
#define EHEA_SPEED_1G 1000 |
#define EHEA_SPEED_AUTONEG 0 |
#define EHEA_WATCH_DOG_TIMEOUT 10*HZ |
- Enumerator:
__EHEA_STOP_XFER |
|
__EHEA_DISABLE_PORT_RESET |
|
Definition at line 479 of file ehea.h.