Go to the documentation of this file. 1 #ifndef __MYRI10GE_MCP_H__
2 #define __MYRI10GE_MCP_H__
4 #define MXGEFW_VERSION_MAJOR 1
5 #define MXGEFW_VERSION_MINOR 4
53 #define MXGEFW_FLAGS_SMALL 0x1
54 #define MXGEFW_FLAGS_TSO_HDR 0x1
55 #define MXGEFW_FLAGS_FIRST 0x2
56 #define MXGEFW_FLAGS_ALIGN_ODD 0x4
57 #define MXGEFW_FLAGS_CKSUM 0x8
58 #define MXGEFW_FLAGS_TSO_LAST 0x8
59 #define MXGEFW_FLAGS_NO_TSO 0x10
60 #define MXGEFW_FLAGS_TSO_CHOP 0x10
61 #define MXGEFW_FLAGS_TSO_PLD 0x20
63 #define MXGEFW_SEND_SMALL_SIZE 1520
64 #define MXGEFW_MAX_MTU 9400
71 #define MXGEFW_MAX_SEND_DESC 12
94 #define MXGEFW_BOOT_HANDOFF 0xfc0000
95 #define MXGEFW_BOOT_DUMMY_RDMA 0xfc01c0
97 #define MXGEFW_ETH_CMD 0xf80000
98 #define MXGEFW_ETH_SEND_4 0x200000
99 #define MXGEFW_ETH_SEND_1 0x240000
100 #define MXGEFW_ETH_SEND_2 0x280000
101 #define MXGEFW_ETH_SEND_3 0x2c0000
102 #define MXGEFW_ETH_RECV_SMALL 0x300000
103 #define MXGEFW_ETH_RECV_BIG 0x340000
104 #define MXGEFW_ETH_SEND_GO 0x380000
105 #define MXGEFW_ETH_SEND_STOP 0x3C0000
107 #define MXGEFW_ETH_SEND(n) (0x200000 + (((n) & 0x03) * 0x40000))
108 #define MXGEFW_ETH_SEND_OFFSET(n) (MXGEFW_ETH_SEND(n) - MXGEFW_ETH_SEND_4)
156 #define MXGEFW_CMD_SET_INTRQ_SIZE_FLAG_NO_STRICT_SIZE_CHECK (1 << 31)
248 #define MXGEFW_SLICE_INTR_MODE_SHARED 0x0
249 #define MXGEFW_SLICE_INTR_MODE_ONE_PER_SLICE 0x1
250 #define MXGEFW_SLICE_ENABLE_MULTIPLE_TX_QUEUES 0x2
274 #define MXGEFW_RSS_HASH_TYPE_IPV4 0x1
275 #define MXGEFW_RSS_HASH_TYPE_TCP_IPV4 0x2
276 #define MXGEFW_RSS_HASH_TYPE_SRC_PORT 0x4
277 #define MXGEFW_RSS_HASH_TYPE_SRC_DST_PORT 0x5
278 #define MXGEFW_RSS_HASH_TYPE_MAX 0x5
294 #define MXGEFW_TSO_MODE_LINUX 0
295 #define MXGEFW_TSO_MODE_NDIS 1
332 #define MXGEFW_RSS_MCP_SLOT_TYPE_MIN 0
333 #define MXGEFW_RSS_MCP_SLOT_TYPE_WITH_HASH 1
397 #define MXGEFW_OLD_IRQ_DATA_LEN 40
410 #define MXGEFW_LINK_DOWN 0
411 #define MXGEFW_LINK_UP 1
412 #define MXGEFW_LINK_MYRINET 2
413 #define MXGEFW_LINK_UNKNOWN 3
430 #define MXGEFW_NETQ_FILTERTYPE_NONE 0
431 #define MXGEFW_NETQ_FILTERTYPE_MACADDR 1
432 #define MXGEFW_NETQ_FILTERTYPE_VLAN 2
433 #define MXGEFW_NETQ_FILTERTYPE_VLANMACADDR 3