Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/tcp.h>
#include <linux/skbuff.h>
#include <linux/firmware.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/timer.h>
#include <linux/vmalloc.h>
#include <asm/io.h>
#include <asm/byteorder.h>
#include "netxen_nic_hdr.h"
#include "netxen_nic_hw.h"
Go to the source code of this file.
Typedefs | |
typedef u32 | netxen_ctx_msg |
typedef struct nx_mac_list_s | nx_mac_list_t |
#define __NX_DEV_UP 1 |
Definition at line 1178 of file netxen_nic.h.
#define __NX_FW_ATTACHED 0 |
Definition at line 1177 of file netxen_nic.h.
#define __NX_RESETTING 2 |
Definition at line 1179 of file netxen_nic.h.
Definition at line 62 of file netxen_nic.h.
Definition at line 60 of file netxen_nic.h.
Definition at line 61 of file netxen_nic.h.
#define _NETXEN_NIC_LINUX_MAJOR 4 |
Definition at line 54 of file netxen_nic.h.
#define _NETXEN_NIC_LINUX_MINOR 0 |
Definition at line 55 of file netxen_nic.h.
#define _NETXEN_NIC_LINUX_SUBVERSION 80 |
Definition at line 56 of file netxen_nic.h.
Definition at line 98 of file netxen_nic.h.
#define ADDR_IN_WINDOW1 | ( | off | ) | ((off > NETXEN_CRB_PCIX_HOST2) && (off < NETXEN_CRB_MAX)) ? 1 : 0 |
Definition at line 95 of file netxen_nic.h.
#define AUTO_FW_RESET_DISABLED 0xDCBAAF12 |
Definition at line 1111 of file netxen_nic.h.
#define AUTO_FW_RESET_ENABLED 0xEF10AF12 |
Definition at line 1110 of file netxen_nic.h.
#define BOARD 4 |
Definition at line 1248 of file netxen_nic.h.
#define CACHE 10 |
Definition at line 1254 of file netxen_nic.h.
#define CNTRL 98 |
Definition at line 1274 of file netxen_nic.h.
#define crb_win_lock | ( | a | ) | netxen_pcie_sem_lock((a), 7, NETXEN_CRB_WIN_LOCK_ID) |
Definition at line 1736 of file netxen_nic.h.
#define crb_win_unlock | ( | a | ) | netxen_pcie_sem_unlock((a), 7) |
Definition at line 1738 of file netxen_nic.h.
Definition at line 111 of file netxen_nic.h.
#define DEFAULT_RCV_DESCRIPTORS_10G 4096 |
Definition at line 214 of file netxen_nic.h.
#define DEFAULT_RCV_DESCRIPTORS_1G 2048 |
Definition at line 213 of file netxen_nic.h.
#define ETHERNET_FCS_SIZE 4 |
Definition at line 609 of file netxen_nic.h.
Definition at line 88 of file netxen_nic.h.
#define FIRST_PAGE_GROUP_END 0x100000 |
Definition at line 128 of file netxen_nic.h.
#define FIRST_PAGE_GROUP_SIZE FIRST_PAGE_GROUP_END - FIRST_PAGE_GROUP_START |
Definition at line 136 of file netxen_nic.h.
#define FIRST_PAGE_GROUP_START 0 |
Definition at line 127 of file netxen_nic.h.
#define FLAGS_CHECKSUM_ENABLED 0x01 |
Definition at line 306 of file netxen_nic.h.
#define FLAGS_IPSEC_SA_ADD 0x04 |
Definition at line 308 of file netxen_nic.h.
#define FLAGS_IPSEC_SA_DELETE 0x08 |
Definition at line 309 of file netxen_nic.h.
#define FLAGS_LSO_ENABLED 0x02 |
Definition at line 307 of file netxen_nic.h.
#define FLAGS_VLAN_OOB 0x40 |
Definition at line 311 of file netxen_nic.h.
#define FLAGS_VLAN_TAGGED 0x10 |
Definition at line 310 of file netxen_nic.h.
#define FLASH_ROM_DATA 0x42150000 |
Definition at line 1220 of file netxen_nic.h.
#define FLASH_ROM_WINDOW 0x42110030 |
Definition at line 1219 of file netxen_nic.h.
#define FLASH_SUCCESS 0 |
Definition at line 93 of file netxen_nic.h.
Definition at line 228 of file netxen_nic.h.
Definition at line 225 of file netxen_nic.h.
#define INFOR 81 |
Definition at line 1273 of file netxen_nic.h.
#define L1DAT 11 |
Definition at line 1256 of file netxen_nic.h.
#define L1DTG 8 |
Definition at line 1252 of file netxen_nic.h.
#define L1INS 12 |
Definition at line 1257 of file netxen_nic.h.
#define L1ITG 9 |
Definition at line 1253 of file netxen_nic.h.
#define L2DAT 23 |
Definition at line 1263 of file netxen_nic.h.
#define L2DTG 21 |
Definition at line 1261 of file netxen_nic.h.
#define L2INS 24 |
Definition at line 1264 of file netxen_nic.h.
#define L2ITG 22 |
Definition at line 1262 of file netxen_nic.h.
#define LINKEVENT_AUTONEG_DISABLED 0 |
Definition at line 1101 of file netxen_nic.h.
#define LINKEVENT_AUTONEG_ENABLED 1 |
Definition at line 1102 of file netxen_nic.h.
#define LINKEVENT_FULL_DUPLEX 1 |
Definition at line 1105 of file netxen_nic.h.
#define LINKEVENT_HALF_DUPLEX 0 |
Definition at line 1104 of file netxen_nic.h.
#define LINKEVENT_LINKSPEED_ENCODED 1 |
Definition at line 1108 of file netxen_nic.h.
#define LINKEVENT_LINKSPEED_MBPS 0 |
Definition at line 1107 of file netxen_nic.h.
#define LINKEVENT_MODULE_NOT_PRESENT 1 |
Definition at line 1083 of file netxen_nic.h.
#define LINKEVENT_MODULE_OPTICAL_LRM 4 |
Definition at line 1086 of file netxen_nic.h.
#define LINKEVENT_MODULE_OPTICAL_SFP_1G 5 |
Definition at line 1087 of file netxen_nic.h.
#define LINKEVENT_MODULE_OPTICAL_SRLR 3 |
Definition at line 1085 of file netxen_nic.h.
#define LINKEVENT_MODULE_OPTICAL_UNKNOWN 2 |
Definition at line 1084 of file netxen_nic.h.
#define LINKEVENT_MODULE_TWINAX 8 |
Definition at line 1090 of file netxen_nic.h.
#define LINKEVENT_MODULE_TWINAX_UNSUPPORTED_CABLE 6 |
Definition at line 1088 of file netxen_nic.h.
#define LINKEVENT_MODULE_TWINAX_UNSUPPORTED_CABLELEN 7 |
Definition at line 1089 of file netxen_nic.h.
#define LINKSPEED_100MBPS 100 |
Definition at line 1094 of file netxen_nic.h.
#define LINKSPEED_10GBPS 10000 |
Definition at line 1092 of file netxen_nic.h.
#define LINKSPEED_10MBPS 10 |
Definition at line 1095 of file netxen_nic.h.
#define LINKSPEED_1GBPS 1000 |
Definition at line 1093 of file netxen_nic.h.
#define LINKSPEED_ENCODED_100MBPS 1 |
Definition at line 1098 of file netxen_nic.h.
#define LINKSPEED_ENCODED_10MBPS 0 |
Definition at line 1097 of file netxen_nic.h.
#define LINKSPEED_ENCODED_1GBPS 2 |
Definition at line 1099 of file netxen_nic.h.
Definition at line 1186 of file netxen_nic.h.
#define MAX_CMD_DESCRIPTORS 1024 |
Definition at line 206 of file netxen_nic.h.
#define MAX_JUMBO_RCV_DESCRIPTORS_10G 1024 |
Definition at line 210 of file netxen_nic.h.
#define MAX_JUMBO_RCV_DESCRIPTORS_1G 512 |
Definition at line 209 of file netxen_nic.h.
#define MAX_LRO_RCV_DESCRIPTORS 8 |
Definition at line 211 of file netxen_nic.h.
#define MAX_NUM_CARDS 4 |
Definition at line 175 of file netxen_nic.h.
#define MAX_PENDING_DESC_BLOCK_SIZE 64 |
Definition at line 1154 of file netxen_nic.h.
#define MAX_RCV_DESCRIPTORS_10G 8192 |
Definition at line 208 of file netxen_nic.h.
#define MAX_RCV_DESCRIPTORS_1G 4096 |
Definition at line 207 of file netxen_nic.h.
#define MAX_RING_CTX 1 |
Definition at line 157 of file netxen_nic.h.
#define MAX_STATUS_HANDLE (64) |
Definition at line 536 of file netxen_nic.h.
#define MAX_TSO_HEADER_DESC 2 |
Definition at line 178 of file netxen_nic.h.
#define MC_COUNT_P2 16 |
Definition at line 946 of file netxen_nic.h.
#define MC_COUNT_P3 38 |
Definition at line 947 of file netxen_nic.h.
#define MEMBK 32 |
Definition at line 1267 of file netxen_nic.h.
#define MGMT_CMD_DESC_RESV 4 |
Definition at line 179 of file netxen_nic.h.
#define MIN_CMD_DESCRIPTORS 64 |
Definition at line 202 of file netxen_nic.h.
#define MIN_JUMBO_DESCRIPTORS 32 |
Definition at line 204 of file netxen_nic.h.
#define MIN_RCV_DESCRIPTORS 64 |
Definition at line 203 of file netxen_nic.h.
#define MINIMUM_ETHERNET_FRAME_SIZE 64 /* With FCS */ |
Definition at line 608 of file netxen_nic.h.
#define MPORT_MULTI_FUNCTION_MODE 0x2222 |
Definition at line 232 of file netxen_nic.h.
#define MPORT_SINGLE_FUNCTION_MODE 0x1111 |
Definition at line 231 of file netxen_nic.h.
Definition at line 1188 of file netxen_nic.h.
#define MSIX_ENTRIES_PER_ADAPTER NUM_STS_DESC_RINGS |
Definition at line 1167 of file netxen_nic.h.
#define NETXEN_ADAPTER_UP_MAGIC 777 |
Definition at line 1174 of file netxen_nic.h.
#define netxen_api_lock | ( | a | ) | netxen_pcie_sem_lock((a), 5, 0) |
Definition at line 1728 of file netxen_nic.h.
#define netxen_api_unlock | ( | a | ) | netxen_pcie_sem_unlock((a), 5) |
Definition at line 1730 of file netxen_nic.h.
#define NETXEN_BDINFO_MAGIC 0x12345678 |
Definition at line 461 of file netxen_nic.h.
#define NETXEN_BDINFO_VERSION 1 |
Definition at line 458 of file netxen_nic.h.
#define NETXEN_BOOTLD_START 0x10000 /* bootld */ |
Definition at line 500 of file netxen_nic.h.
#define NETXEN_BRDCFG_START 0x4000 /* board config */ |
Definition at line 498 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P1_BD 0x0000 |
Definition at line 466 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P1_SB 0x0001 |
Definition at line 467 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P1_SMAX 0x0002 |
Definition at line 468 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P1_SOCK 0x0003 |
Definition at line 469 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB31_10G 0x000b |
Definition at line 474 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB31_10G_CX4 0x000f |
Definition at line 479 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB31_10G_HMEZ 0x000e |
Definition at line 478 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB31_10G_IMEZ 0x000d |
Definition at line 477 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB31_2G 0x000c |
Definition at line 475 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SB35_4G 0x000a |
Definition at line 473 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SOCK_31 0x0008 |
Definition at line 471 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P2_SOCK_35 0x0009 |
Definition at line 472 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10000_BASE_T 0x0027 |
Definition at line 487 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_CX4 0x0031 |
Definition at line 492 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_CX4_LP 0x0023 |
Definition at line 483 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_SFP_CT 0x002a |
Definition at line 490 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_SFP_PLUS 0x0026 |
Definition at line 486 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_SFP_QT 0x002b |
Definition at line 491 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_TP 0x0080 |
Definition at line 494 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_10G_XFP 0x0032 |
Definition at line 493 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_4_GB 0x0024 |
Definition at line 484 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_4_GB_MM 0x0029 |
Definition at line 489 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_HMEZ 0x0022 |
Definition at line 482 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_IMEZ 0x0025 |
Definition at line 485 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_REF_QG 0x0021 |
Definition at line 481 of file netxen_nic.h.
#define NETXEN_BRDTYPE_P3_XG_LOM 0x0028 |
Definition at line 488 of file netxen_nic.h.
#define NETXEN_BUFFER_BUSY 1 |
Definition at line 555 of file netxen_nic.h.
#define NETXEN_BUFFER_FREE 0 |
Definition at line 554 of file netxen_nic.h.
#define NETXEN_CONTROL_OP 0x10 |
Definition at line 172 of file netxen_nic.h.
#define NETXEN_CRB_NORMAL | ( | reg | ) | ((reg) - NETXEN_CRB_PCIX_HOST2 + NETXEN_CRB_PCIX_HOST) |
Definition at line 105 of file netxen_nic.h.
#define NETXEN_CRB_NORMALIZE | ( | adapter, | |
reg | |||
) | pci_base_offset(adapter, NETXEN_CRB_NORMAL(reg)) |
Definition at line 108 of file netxen_nic.h.
#define NETXEN_CRBINIT_START 0 /* crbinit section */ |
Definition at line 497 of file netxen_nic.h.
#define NETXEN_CTX_D3_RESET 0xacc0 |
Definition at line 219 of file netxen_nic.h.
#define NETXEN_CTX_RESET 0xbad0 |
Definition at line 218 of file netxen_nic.h.
#define NETXEN_CTX_SIGNATURE 0xdee0 |
Definition at line 216 of file netxen_nic.h.
#define NETXEN_CTX_SIGNATURE_V2 0x0002dee0 |
Definition at line 217 of file netxen_nic.h.
#define NETXEN_DB_MAPSIZE_BYTES 0x1000 |
Definition at line 1171 of file netxen_nic.h.
#define NETXEN_DECODE_VERSION | ( | v | ) | NETXEN_VERSION_CODE(((v) & 0xff), (((v) >> 8) & 0xff), ((v) >> 16)) |
Definition at line 69 of file netxen_nic.h.
#define NETXEN_DEFAULT_INTR_COALESCE_RX_PACKETS 256 |
Definition at line 968 of file netxen_nic.h.
#define NETXEN_DEFAULT_INTR_COALESCE_RX_TIME_US 3 |
Definition at line 967 of file netxen_nic.h.
#define NETXEN_DEFAULT_INTR_COALESCE_TX_PACKETS 64 |
Definition at line 969 of file netxen_nic.h.
#define NETXEN_DEFAULT_INTR_COALESCE_TX_TIME_US 4 |
Definition at line 970 of file netxen_nic.h.
#define NETXEN_FIXED_START 0x3F0000 /* backup of crbinit */ |
Definition at line 505 of file netxen_nic.h.
#define NETXEN_FLASH_SECTOR_SIZE (64 * 1024) |
Definition at line 73 of file netxen_nic.h.
#define NETXEN_FLASH_TOTAL_SIZE |
Definition at line 74 of file netxen_nic.h.
#define NETXEN_FW_MSS_CAP 0x80 |
Definition at line 1163 of file netxen_nic.h.
#define NETXEN_FW_RESET_OWNER 0x40 |
Definition at line 1162 of file netxen_nic.h.
#define netxen_get_lro_sts_l2_hdr_offset | ( | sts_data | ) | (((sts_data) >> 32) & 0x0FF) |
Definition at line 410 of file netxen_nic.h.
#define netxen_get_lro_sts_l4_hdr_offset | ( | sts_data | ) | (((sts_data) >> 40) & 0x0FF) |
Definition at line 412 of file netxen_nic.h.
#define netxen_get_lro_sts_length | ( | sts_data | ) | (((sts_data) >> 16) & 0x0FFFF) |
Definition at line 408 of file netxen_nic.h.
#define netxen_get_lro_sts_mss | ( | sts_data1 | ) | ((sts_data1 >> 32) & 0x0FFFF) |
Definition at line 422 of file netxen_nic.h.
#define netxen_get_lro_sts_push_flag | ( | sts_data | ) | (((sts_data) >> 52) & 0x1) |
Definition at line 418 of file netxen_nic.h.
#define netxen_get_lro_sts_refhandle | ( | sts_data | ) | ((sts_data) & 0x0FFFF) |
Definition at line 406 of file netxen_nic.h.
#define netxen_get_lro_sts_seq_number | ( | sts_data | ) | ((sts_data) & 0x0FFFFFFFF) |
Definition at line 420 of file netxen_nic.h.
#define netxen_get_lro_sts_timestamp | ( | sts_data | ) | (((sts_data) >> 48) & 0x1) |
Definition at line 414 of file netxen_nic.h.
#define netxen_get_lro_sts_type | ( | sts_data | ) | (((sts_data) >> 49) & 0x7) |
Definition at line 416 of file netxen_nic.h.
#define netxen_get_nic_msg_compid | ( | msg_hdr | ) | ((msg_hdr >> 40) & 0xFF) |
Definition at line 1125 of file netxen_nic.h.
#define netxen_get_nic_msg_errcode | ( | msg_hdr | ) | ((msg_hdr >> 16) & 0xFFFF) |
Definition at line 1129 of file netxen_nic.h.
#define netxen_get_nic_msg_opcode | ( | msg_hdr | ) | ((msg_hdr >> 32) & 0xFF) |
Definition at line 1127 of file netxen_nic.h.
#define netxen_get_nic_msgtype | ( | msg_hdr | ) | ((msg_hdr >> 58) & 0x3F) |
Definition at line 1123 of file netxen_nic.h.
#define netxen_get_sts_desc_cnt | ( | sts_data | ) | (((sts_data) >> 53) & 0x7) |
Definition at line 401 of file netxen_nic.h.
#define netxen_get_sts_opcode | ( | sts_data | ) | (((sts_data) >> 58) & 0x03F) |
Definition at line 403 of file netxen_nic.h.
#define netxen_get_sts_pkt_offset | ( | sts_data | ) | (((sts_data) >> 48) & 0x1F) |
Definition at line 399 of file netxen_nic.h.
#define netxen_get_sts_port | ( | sts_data | ) | ((sts_data) & 0x0F) |
Definition at line 387 of file netxen_nic.h.
#define netxen_get_sts_prot | ( | sts_data | ) | (((sts_data) >> 44) & 0x0F) |
Definition at line 397 of file netxen_nic.h.
#define netxen_get_sts_refhandle | ( | sts_data | ) | (((sts_data) >> 28) & 0xFFFF) |
Definition at line 395 of file netxen_nic.h.
#define netxen_get_sts_status | ( | sts_data | ) | (((sts_data) >> 4) & 0x0F) |
Definition at line 389 of file netxen_nic.h.
#define netxen_get_sts_totallength | ( | sts_data | ) | (((sts_data) >> 12) & 0xFFFF) |
Definition at line 393 of file netxen_nic.h.
#define netxen_get_sts_type | ( | sts_data | ) | (((sts_data) >> 8) & 0x0F) |
Definition at line 391 of file netxen_nic.h.
#define NETXEN_HOST_DUMMY_DMA_SIZE 1024 |
Definition at line 92 of file netxen_nic.h.
#define NETXEN_IMAGE_START 0x43000 /* compressed image */ |
Definition at line 501 of file netxen_nic.h.
#define NETXEN_INITCODE_START 0x6000 /* pegtune code */ |
Definition at line 499 of file netxen_nic.h.
#define NETXEN_IS_MSI_FAMILY | ( | adapter | ) | ((adapter)->flags & (NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED)) |
Definition at line 1164 of file netxen_nic.h.
#define NETXEN_MAC_ADD 1 |
Definition at line 950 of file netxen_nic.h.
#define NETXEN_MAC_DEL 2 |
Definition at line 951 of file netxen_nic.h.
#define NETXEN_MAC_NOOP 0 |
Definition at line 949 of file netxen_nic.h.
#define NETXEN_MAX_FRAGS_PER_TX 14 |
Definition at line 177 of file netxen_nic.h.
#define NETXEN_MAX_PORTS 4 |
Definition at line 464 of file netxen_nic.h.
#define NETXEN_MAX_SHORT_NAME 32 |
Definition at line 1819 of file netxen_nic.h.
#define NETXEN_MSIX_TBL_SPACE 8192 |
Definition at line 1168 of file netxen_nic.h.
#define NETXEN_NETDEV_WEIGHT 128 |
Definition at line 1173 of file netxen_nic.h.
#define NETXEN_NIC_BRIDGE_ENABLED 0X10 |
Definition at line 1160 of file netxen_nic.h.
#define NETXEN_NIC_DIAG_ENABLED 0x20 |
Definition at line 1161 of file netxen_nic.h.
#define NETXEN_NIC_GBE 0x01 |
Definition at line 577 of file netxen_nic.h.
#define NETXEN_NIC_INTR_DEFAULT 0x04 |
Definition at line 972 of file netxen_nic.h.
#define NETXEN_NIC_LINUX_VERSIONID "4.0.80" |
Definition at line 57 of file netxen_nic.h.
#define NETXEN_NIC_LRO_DESC 0x12 |
Definition at line 372 of file netxen_nic.h.
#define NETXEN_NIC_LRO_DISABLED 0x00 |
Definition at line 1159 of file netxen_nic.h.
#define NETXEN_NIC_LRO_ENABLED 0x08 |
Definition at line 1158 of file netxen_nic.h.
#define NETXEN_NIC_MSI_ENABLED 0x02 |
Definition at line 1156 of file netxen_nic.h.
#define NETXEN_NIC_MSIX_ENABLED 0x04 |
Definition at line 1157 of file netxen_nic.h.
#define NETXEN_NIC_PEG_TUNE 0 |
Definition at line 1175 of file netxen_nic.h.
#define NETXEN_NIC_RESPONSE_DESC 0x05 |
Definition at line 371 of file netxen_nic.h.
#define NETXEN_NIC_RXPKT_DESC 0x04 |
Definition at line 369 of file netxen_nic.h.
#define NETXEN_NIC_SYN_OFFLOAD 0x03 |
Definition at line 368 of file netxen_nic.h.
#define NETXEN_NIC_XGBE 0x02 |
Definition at line 578 of file netxen_nic.h.
#define NETXEN_NUM_FLASH_SECTORS (64) |
Definition at line 72 of file netxen_nic.h.
#define NETXEN_OLD_RXPKT_DESC 0x3f |
Definition at line 370 of file netxen_nic.h.
#define NETXEN_PCI_REG_MSIX_TBL 0x44 |
Definition at line 1169 of file netxen_nic.h.
#define netxen_phy_lock | ( | a | ) | netxen_pcie_sem_lock((a), 3, NETXEN_PHY_LOCK_ID) |
Definition at line 1724 of file netxen_nic.h.
#define netxen_phy_unlock | ( | a | ) | netxen_pcie_sem_unlock((a), 3) |
Definition at line 1726 of file netxen_nic.h.
#define NETXEN_PXE_START 0x3E0000 /* PXE boot rom */ |
Definition at line 503 of file netxen_nic.h.
#define NETXEN_RCV_PEG_DB_ID 2 |
Definition at line 91 of file netxen_nic.h.
#define NETXEN_RCV_PRODUCER | ( | ringid | ) | (ringid) |
Definition at line 220 of file netxen_nic.h.
#define NETXEN_RCV_PRODUCER_OFFSET 0 |
Definition at line 90 of file netxen_nic.h.
#define netxen_rom_lock | ( | a | ) | netxen_pcie_sem_lock((a), 2, NETXEN_ROM_LOCK_ID) |
Definition at line 1720 of file netxen_nic.h.
#define netxen_rom_unlock | ( | a | ) | netxen_pcie_sem_unlock((a), 2) |
Definition at line 1722 of file netxen_nic.h.
#define NETXEN_SECONDARY_START 0x200000 /* backup images */ |
Definition at line 502 of file netxen_nic.h.
#define netxen_set_cmd_desc_ctxid | ( | cmd_desc, | |
var | |||
) | ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0)) |
Definition at line 318 of file netxen_nic.h.
#define netxen_set_cmd_desc_port | ( | cmd_desc, | |
var | |||
) | ((cmd_desc)->port_ctxid |= ((var) & 0x0F)) |
Definition at line 316 of file netxen_nic.h.
#define netxen_set_msg_count | ( | config_word, | |
val | |||
) | ((config_word) &= ~(0x7fff<<3), (config_word) |= (val & 0x7fff) << 3) |
Definition at line 252 of file netxen_nic.h.
#define netxen_set_msg_ctxid | ( | config_word, | |
val | |||
) | ((config_word) &= ~(0x3ff<<18), (config_word) |= (val & 0x3ff) << 18) |
Definition at line 254 of file netxen_nic.h.
#define netxen_set_msg_opcode | ( | config_word, | |
val | |||
) | ((config_word) &= ~(0xf<<28), (config_word) |= (val & 0xf) << 28) |
Definition at line 256 of file netxen_nic.h.
Definition at line 248 of file netxen_nic.h.
#define netxen_set_msg_privid | ( | config_word | ) | ((config_word) |= 1 << 2) |
Definition at line 250 of file netxen_nic.h.
#define netxen_set_tx_flags_opcode | ( | _desc, | |
_flags, | |||
_opcode | |||
) |
Definition at line 324 of file netxen_nic.h.
#define netxen_set_tx_frags_len | ( | _desc, | |
_frags, | |||
_len | |||
) |
Definition at line 328 of file netxen_nic.h.
#define netxen_set_tx_port | ( | _desc, | |
_port | |||
) | (_desc)->port_ctxid = ((_port) & 0xf) | (((_port) << 4) & 0xf0) |
Definition at line 321 of file netxen_nic.h.
Definition at line 313 of file netxen_nic.h.
#define netxen_sw_lock | ( | a | ) | netxen_pcie_sem_lock((a), 6, 0) |
Definition at line 1732 of file netxen_nic.h.
#define netxen_sw_unlock | ( | a | ) | netxen_pcie_sem_unlock((a), 6) |
Definition at line 1734 of file netxen_nic.h.
#define NETXEN_USER_START 0x3E8000 /* Firmare info */ |
Definition at line 504 of file netxen_nic.h.
#define NETXEN_USER_START_OLD NETXEN_PXE_START /* very old flash */ |
Definition at line 506 of file netxen_nic.h.
Definition at line 59 of file netxen_nic.h.
#define NUM_RCV_DESC_RINGS 3 |
Definition at line 195 of file netxen_nic.h.
#define NUM_STS_DESC_RINGS 4 |
Definition at line 196 of file netxen_nic.h.
#define NUM_SUPPORTED_BOARDS ARRAY_SIZE(netxen_boards) |
Definition at line 1855 of file netxen_nic.h.
#define NX_BIOS_VERSION_OFFSET (NETXEN_USER_START+0x83c) |
Definition at line 513 of file netxen_nic.h.
#define NX_BRDTYPE_OFFSET (NETXEN_BRDCFG_START+0x8) |
Definition at line 516 of file netxen_nic.h.
#define NX_CAP0_CUT_THROUGH NX_CAP_BIT(0, 4) |
Definition at line 793 of file netxen_nic.h.
#define NX_CAP0_HW_LRO NX_CAP_BIT(0, 10) |
Definition at line 798 of file netxen_nic.h.
#define NX_CAP0_HW_LRO_MSS NX_CAP_BIT(0, 21) |
Definition at line 799 of file netxen_nic.h.
#define NX_CAP0_JUMBO_CONTIGUOUS NX_CAP_BIT(0, 7) |
Definition at line 796 of file netxen_nic.h.
#define NX_CAP0_LEGACY_CONTEXT NX_CAP_BIT(0, 0) |
Definition at line 789 of file netxen_nic.h.
#define NX_CAP0_LEGACY_MN NX_CAP_BIT(0, 2) |
Definition at line 791 of file netxen_nic.h.
#define NX_CAP0_LEGACY_MS NX_CAP_BIT(0, 3) |
Definition at line 792 of file netxen_nic.h.
#define NX_CAP0_LRO NX_CAP_BIT(0, 5) |
Definition at line 794 of file netxen_nic.h.
#define NX_CAP0_LRO_CONTIGUOUS NX_CAP_BIT(0, 8) |
Definition at line 797 of file netxen_nic.h.
#define NX_CAP0_LSO NX_CAP_BIT(0, 6) |
Definition at line 795 of file netxen_nic.h.
#define NX_CAP0_MULTI_CONTEXT NX_CAP_BIT(0, 1) |
Definition at line 790 of file netxen_nic.h.
Definition at line 788 of file netxen_nic.h.
#define NX_CDRP_CLEAR 0x00000000 |
Definition at line 709 of file netxen_nic.h.
#define NX_CDRP_CMD_BIT 0x80000000 |
Definition at line 710 of file netxen_nic.h.
#define NX_CDRP_CMD_CONFIG_GBE_PORT 0x0000001f |
Definition at line 756 of file netxen_nic.h.
#define NX_CDRP_CMD_CONFIGURE_TOE 0x0000001a |
Definition at line 751 of file netxen_nic.h.
#define NX_CDRP_CMD_CREATE_RX_CTX 0x00000007 |
Definition at line 736 of file netxen_nic.h.
#define NX_CDRP_CMD_CREATE_TX_CTX 0x00000009 |
Definition at line 738 of file netxen_nic.h.
#define NX_CDRP_CMD_DELETE_STATISTICS 0x00000010 |
Definition at line 742 of file netxen_nic.h.
#define NX_CDRP_CMD_DESTROY_RX_CTX 0x00000008 |
Definition at line 737 of file netxen_nic.h.
#define NX_CDRP_CMD_DESTROY_TX_CTX 0x0000000a |
Definition at line 739 of file netxen_nic.h.
#define NX_CDRP_CMD_FUNC_ATTRIB 0x0000001b |
Definition at line 752 of file netxen_nic.h.
#define NX_CDRP_CMD_GET_FLOW_CTL 0x00000016 |
Definition at line 747 of file netxen_nic.h.
#define NX_CDRP_CMD_GET_LIC_CAPABILITIES 0x0000001d |
Definition at line 754 of file netxen_nic.h.
#define NX_CDRP_CMD_GET_STATISTICS 0x0000000f |
Definition at line 741 of file netxen_nic.h.
#define NX_CDRP_CMD_GET_TEMP_HDR 0x00000030 |
Definition at line 1197 of file netxen_nic.h.
#define NX_CDRP_CMD_MAX 0x00000020 |
Definition at line 757 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_HW_REG 0x00000015 |
Definition at line 746 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_LRO 0x00000019 |
Definition at line 750 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_LRO_PER_BOARD 0x0000001e |
Definition at line 755 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_MTU 0x00000018 |
Definition at line 749 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_RDS_PER_CTX 0x00000002 |
Definition at line 731 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_RULES_PER_CTX 0x00000004 |
Definition at line 733 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_RX_CTX 0x00000005 |
Definition at line 734 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_SDS_PER_CTX 0x00000003 |
Definition at line 732 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_MAX_TX_CTX 0x00000006 |
Definition at line 735 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_PEXQ_PARAMETERS 0x0000001c |
Definition at line 753 of file netxen_nic.h.
#define NX_CDRP_CMD_READ_PHY 0x00000013 |
Definition at line 744 of file netxen_nic.h.
#define NX_CDRP_CMD_SET_FLOW_CTL 0x00000017 |
Definition at line 748 of file netxen_nic.h.
#define NX_CDRP_CMD_SET_MTU 0x00000012 |
Definition at line 743 of file netxen_nic.h.
#define NX_CDRP_CMD_SETUP_STATISTICS 0x0000000e |
Definition at line 740 of file netxen_nic.h.
#define NX_CDRP_CMD_SUBMIT_CAPABILITIES 0x00000001 |
Definition at line 730 of file netxen_nic.h.
#define NX_CDRP_CMD_TEMP_SIZE 0x0000002f |
Definition at line 1196 of file netxen_nic.h.
#define NX_CDRP_CMD_WRITE_PHY 0x00000014 |
Definition at line 745 of file netxen_nic.h.
#define NX_CDRP_FORM_CMD | ( | cmd | ) | (NX_CDRP_CMD_BIT | (cmd)) |
Definition at line 727 of file netxen_nic.h.
Definition at line 716 of file netxen_nic.h.
#define NX_CDRP_IS_CMD | ( | cmd | ) | (((cmd) & NX_CDRP_CMD_BIT) != 0) |
Definition at line 728 of file netxen_nic.h.
#define NX_CDRP_IS_RSP | ( | rsp | ) | (((rsp) & NX_CDRP_CMD_BIT) == 0) |
Definition at line 717 of file netxen_nic.h.
#define NX_CDRP_RSP_FAIL 0x00000002 |
Definition at line 720 of file netxen_nic.h.
#define NX_CDRP_RSP_OK 0x00000001 |
Definition at line 719 of file netxen_nic.h.
#define NX_CDRP_RSP_TIMEOUT 0x00000003 |
Definition at line 721 of file netxen_nic.h.
#define NX_CDRP_SIGNATURE_MAKE | ( | pcifn, | |
version | |||
) | (((pcifn) & 0xff) | (((version) & 0xff) << 8) | (0xcafe << 16)) |
Definition at line 706 of file netxen_nic.h.
#define NX_CT_DEFAULT_RX_BUF_LEN 2048 |
Definition at line 149 of file netxen_nic.h.
#define NX_DESTROY_CTX_D3_RESET 1 |
Definition at line 782 of file netxen_nic.h.
#define NX_DESTROY_CTX_MAX 2 |
Definition at line 783 of file netxen_nic.h.
#define NX_DESTROY_CTX_RESET 0 |
Definition at line 781 of file netxen_nic.h.
#define NX_DISABLE_FW_DUMP 0xbadfeed |
Definition at line 1206 of file netxen_nic.h.
#define NX_DUMP_ANDCRB 0x04 |
Definition at line 1289 of file netxen_nic.h.
#define NX_DUMP_CAP_SIZE_ARRAY_LEN 8 |
Definition at line 1201 of file netxen_nic.h.
#define NX_DUMP_MASK_DEF 0x1f |
Definition at line 1192 of file netxen_nic.h.
#define NX_DUMP_MASK_MAX 0xff |
Definition at line 1193 of file netxen_nic.h.
#define NX_DUMP_MASK_MIN 0x03 |
Definition at line 1191 of file netxen_nic.h.
#define NX_DUMP_MOD_SAVE_ST 0x80 |
Definition at line 1294 of file netxen_nic.h.
#define NX_DUMP_ORCRB 0x08 |
Definition at line 1290 of file netxen_nic.h.
#define NX_DUMP_POLLCRB 0x10 |
Definition at line 1291 of file netxen_nic.h.
#define NX_DUMP_RD_SAVE 0x20 |
Definition at line 1292 of file netxen_nic.h.
#define NX_DUMP_RWCRB 0x02 |
Definition at line 1288 of file netxen_nic.h.
#define NX_DUMP_SIZE_ERR 0x40 /*entry size vs capture size mismatch*/ |
Definition at line 1298 of file netxen_nic.h.
#define NX_DUMP_SKIP 0x80 /* driver skipped this entry */ |
Definition at line 1297 of file netxen_nic.h.
#define NX_DUMP_STATE_ARRAY_LEN 16 |
Definition at line 1200 of file netxen_nic.h.
#define NX_DUMP_WCRB 0x01 |
Definition at line 1287 of file netxen_nic.h.
#define NX_DUMP_WRT_SAVED 0x40 |
Definition at line 1293 of file netxen_nic.h.
#define NX_ENABLE_FW_DUMP 0xaddfeed |
Definition at line 1205 of file netxen_nic.h.
#define NX_ETHERMTU 1500 |
Definition at line 142 of file netxen_nic.h.
#define NX_FLASH_LOCK_ID 0x001B2100 |
Definition at line 1218 of file netxen_nic.h.
#define NX_FLASH_ROMIMAGE 4 |
Definition at line 524 of file netxen_nic.h.
#define NX_FLASH_ROMIMAGE_NAME "flash" |
Definition at line 531 of file netxen_nic.h.
#define NX_FLASH_SEM2_LK 0x0013C010 |
Definition at line 1216 of file netxen_nic.h.
#define NX_FLASH_SEM2_ULK 0x0013C014 |
Definition at line 1217 of file netxen_nic.h.
#define NX_FORCE_FW_DUMP_KEY 0xdeadfeed |
Definition at line 1204 of file netxen_nic.h.
#define NX_FORCE_FW_RESET 0xdeaddead |
Definition at line 1207 of file netxen_nic.h.
#define NX_FW_CAPABILITY_2_LRO_MAX_TCP_SEG (1 << 2) |
Definition at line 1080 of file netxen_nic.h.
#define NX_FW_CAPABILITY_BDG (1 << 8) |
Definition at line 1075 of file netxen_nic.h.
#define NX_FW_CAPABILITY_FVLANTX (1 << 9) |
Definition at line 1076 of file netxen_nic.h.
#define NX_FW_CAPABILITY_GBE_LINK_CFG (1 << 11) |
Definition at line 1078 of file netxen_nic.h.
#define NX_FW_CAPABILITY_HW_LRO (1 << 10) |
Definition at line 1077 of file netxen_nic.h.
#define NX_FW_CAPABILITY_LINK_NOTIFICATION (1 << 5) |
Definition at line 1072 of file netxen_nic.h.
#define NX_FW_CAPABILITY_MORE_CAPS (1 << 31) |
Definition at line 1079 of file netxen_nic.h.
#define NX_FW_CAPABILITY_PEXQ (1 << 7) |
Definition at line 1074 of file netxen_nic.h.
#define NX_FW_CAPABILITY_SWITCHING (1 << 6) |
Definition at line 1073 of file netxen_nic.h.
#define NX_FW_DUMP_REG1 0x00130060 |
Definition at line 1214 of file netxen_nic.h.
#define NX_FW_DUMP_REG2 0x001e0000 |
Definition at line 1215 of file netxen_nic.h.
#define NX_FW_MAC_ADDR_OFFSET (NETXEN_USER_START+0x418) |
Definition at line 511 of file netxen_nic.h.
#define NX_FW_MAGIC_OFFSET (NETXEN_BRDCFG_START+0x128) |
Definition at line 517 of file netxen_nic.h.
#define NX_FW_MIN_SIZE (0x3fffff) |
Definition at line 519 of file netxen_nic.h.
#define NX_FW_SERIAL_NUM_OFFSET (NETXEN_USER_START+0x81c) |
Definition at line 512 of file netxen_nic.h.
#define NX_FW_SIZE_OFFSET (NETXEN_USER_START+0x40c) |
Definition at line 510 of file netxen_nic.h.
#define NX_FW_VERSION_OFFSET (NETXEN_USER_START+0x408) |
Definition at line 509 of file netxen_nic.h.
#define NX_HDR_VERSION_OFFSET (NETXEN_BRDCFG_START) |
Definition at line 515 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_ACTIVE 2 |
Definition at line 806 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_ALLOCATED 1 |
Definition at line 805 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_DISABLED 3 |
Definition at line 807 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_FREED 0 |
Definition at line 804 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_MAX 5 |
Definition at line 809 of file netxen_nic.h.
#define NX_HOST_CTX_STATE_QUIESCED 4 |
Definition at line 808 of file netxen_nic.h.
#define NX_HOST_INT_CRB_MODE_NORX 2 |
Definition at line 939 of file netxen_nic.h.
#define NX_HOST_INT_CRB_MODE_NORXTX 4 |
Definition at line 941 of file netxen_nic.h.
#define NX_HOST_INT_CRB_MODE_NOTX 3 |
Definition at line 940 of file netxen_nic.h.
#define NX_HOST_INT_CRB_MODE_SHARED 1 |
Definition at line 938 of file netxen_nic.h.
#define NX_HOST_INT_CRB_MODE_UNIQUE 0 |
Definition at line 937 of file netxen_nic.h.
#define NX_HOST_RDS_CRB_MODE_CUSTOM 2 |
Definition at line 934 of file netxen_nic.h.
#define NX_HOST_RDS_CRB_MODE_MAX 3 |
Definition at line 935 of file netxen_nic.h.
#define NX_HOST_RDS_CRB_MODE_SHARED 1 |
Definition at line 933 of file netxen_nic.h.
#define NX_HOST_RDS_CRB_MODE_UNIQUE 0 |
Definition at line 932 of file netxen_nic.h.
#define NX_HOST_REQUEST 0x13 |
Definition at line 997 of file netxen_nic.h.
#define NX_IP_DOWN 3 |
Definition at line 1003 of file netxen_nic.h.
#define NX_IP_UP 2 |
Definition at line 1002 of file netxen_nic.h.
Definition at line 123 of file netxen_nic.h.
Definition at line 124 of file netxen_nic.h.
Definition at line 125 of file netxen_nic.h.
#define NX_LRO_BUFFER_EXTRA 2048 |
Definition at line 150 of file netxen_nic.h.
#define NX_MAC_EVENT 0x1 |
Definition at line 1000 of file netxen_nic.h.
#define NX_MAX_ETHERHDR 32 /* This contains some padding */ |
Definition at line 143 of file netxen_nic.h.
#define NX_MAX_PCI_FUNC 8 |
Definition at line 234 of file netxen_nic.h.
#define NX_MAX_TX_TIMEOUTS 2 |
Definition at line 182 of file netxen_nic.h.
#define NX_MD_SUPPORT_MAJOR 4 |
Definition at line 1182 of file netxen_nic.h.
#define NX_MD_SUPPORT_MINOR 0 |
Definition at line 1183 of file netxen_nic.h.
#define NX_MD_SUPPORT_SUBVERSION 579 |
Definition at line 1184 of file netxen_nic.h.
#define NX_NIC_C2C_OPCODE 22 |
Definition at line 1030 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_CONFIG_L2_MAC_RESPONSE 133 |
Definition at line 1044 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_CONFIG_MAC_RESPONSE 131 |
Definition at line 1042 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_CONFIG_PROMISCUOUS_RESPONSE 132 |
Definition at line 1043 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_CONFIG_RSS_RESPONSE 129 |
Definition at line 1040 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_CONFIG_RSS_TBL_RESPONSE 130 |
Definition at line 1041 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_GET_FINGER_PRINT_REPLY 137 |
Definition at line 1048 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_GET_LICENSE_CAPABILITIES_REPLY 139 |
Definition at line 1050 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_GET_LINKEVENT_RESPONSE 141 |
Definition at line 1052 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_GET_NET_STATS_RESPONSE 140 |
Definition at line 1051 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_GET_SNMP_STATS 136 |
Definition at line 1047 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_INSTALL_LICENSE_REPLY 138 |
Definition at line 1049 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_LAST 142 |
Definition at line 1053 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_LRO_ADD_FAILURE_RESPONSE 135 |
Definition at line 1046 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_LRO_DELETE_RESPONSE 134 |
Definition at line 1045 of file netxen_nic.h.
#define NX_NIC_C2H_OPCODE_START 128 |
Definition at line 1039 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_BRIDGING 23 |
Definition at line 1031 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_HW_LRO 24 |
Definition at line 1032 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_INTR_COALESCE 3 |
Definition at line 1011 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_IPADDR 18 |
Definition at line 1026 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_L2_MAC 6 |
Definition at line 1014 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_LED 4 |
Definition at line 1012 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_LOOPBACK 19 |
Definition at line 1027 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_PROMISCUOUS 5 |
Definition at line 1013 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_RSS 1 |
Definition at line 1009 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_CONFIG_RSS_TBL 2 |
Definition at line 1010 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_GET_FINGER_PRINT_REQUEST 13 |
Definition at line 1021 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_GET_LICENSE_CAPABILITY_REQUEST 15 |
Definition at line 1023 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_GET_LINKEVENT 21 |
Definition at line 1029 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_GET_NET_STATS 16 |
Definition at line 1024 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_GET_SNMP_STATS 8 |
Definition at line 1016 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_INSTALL_LICENSE_REQUEST 14 |
Definition at line 1022 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_LAST 25 |
Definition at line 1033 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_LRO_REQUEST 7 |
Definition at line 1015 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_SET_MTU 11 |
Definition at line 1019 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_SET_VPORT_MISS_MODE 12 |
Definition at line 1020 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_START_REQUEST 9 |
Definition at line 1017 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_STOP_DONE 20 |
Definition at line 1028 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_STOP_REQUEST 10 |
Definition at line 1018 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_PROXY_UPDATE_P2V 17 |
Definition at line 1025 of file netxen_nic.h.
#define NX_NIC_H2C_OPCODE_START 0 |
Definition at line 1008 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_ADD_FLOW 1 |
Definition at line 1060 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_ADD_FLOW_SCHEDULED 5 |
Definition at line 1064 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_CLEANUP 4 |
Definition at line 1063 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_DELETE_FLOW 2 |
Definition at line 1061 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_FIRST 0 |
Definition at line 1059 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_LAST 11 |
Definition at line 1070 of file netxen_nic.h.
#define NX_NIC_LRO_REQUEST_TIMER 3 |
Definition at line 1062 of file netxen_nic.h.
#define NX_NIC_REQUEST 0x14 |
Definition at line 998 of file netxen_nic.h.
#define NX_OLD_MAC_ADDR_OFFSET (NETXEN_USER_START) |
Definition at line 508 of file netxen_nic.h.
#define NX_OS_CRB_RETRY_COUNT 4000 |
Definition at line 705 of file netxen_nic.h.
#define NX_P2_C0 0x24 |
Definition at line 114 of file netxen_nic.h.
#define NX_P2_C1 0x25 |
Definition at line 115 of file netxen_nic.h.
#define NX_P2_MN_ROMIMAGE 0 |
Definition at line 520 of file netxen_nic.h.
#define NX_P2_MN_ROMIMAGE_NAME "nxromimg.bin" |
Definition at line 527 of file netxen_nic.h.
#define NX_P2_RX_BUF_MAX_LEN 1760 |
Definition at line 145 of file netxen_nic.h.
#define NX_P2_RX_JUMBO_BUF_MAX_LEN (NX_MAX_ETHERHDR + P2_MAX_MTU) |
Definition at line 147 of file netxen_nic.h.
#define NX_P3_A0 0x30 |
Definition at line 116 of file netxen_nic.h.
#define NX_P3_A2 0x30 |
Definition at line 117 of file netxen_nic.h.
#define NX_P3_B0 0x40 |
Definition at line 118 of file netxen_nic.h.
#define NX_P3_B1 0x41 |
Definition at line 119 of file netxen_nic.h.
#define NX_P3_B2 0x42 |
Definition at line 120 of file netxen_nic.h.
#define NX_P3_CT_ROMIMAGE 1 |
Definition at line 521 of file netxen_nic.h.
#define NX_P3_CT_ROMIMAGE_NAME "nx3fwct.bin" |
Definition at line 528 of file netxen_nic.h.
#define NX_P3_MN_ROMIMAGE 2 |
Definition at line 522 of file netxen_nic.h.
#define NX_P3_MN_ROMIMAGE_NAME "nx3fwmn.bin" |
Definition at line 529 of file netxen_nic.h.
#define NX_P3_RX_BUF_MAX_LEN (NX_MAX_ETHERHDR + NX_ETHERMTU) |
Definition at line 146 of file netxen_nic.h.
#define NX_P3_RX_JUMBO_BUF_MAX_LEN (NX_MAX_ETHERHDR + P3_MAX_MTU) |
Definition at line 148 of file netxen_nic.h.
#define NX_P3P_A0 0x50 |
Definition at line 121 of file netxen_nic.h.
Definition at line 1300 of file netxen_nic.h.
Definition at line 1301 of file netxen_nic.h.
#define NX_RCODE_ALREADY_EXISTS 13 |
Definition at line 772 of file netxen_nic.h.
#define NX_RCODE_BAD_SIGNATURE 14 |
Definition at line 773 of file netxen_nic.h.
#define NX_RCODE_CMD_FAILED 18 |
Definition at line 777 of file netxen_nic.h.
#define NX_RCODE_CMD_INVALID 16 |
Definition at line 775 of file netxen_nic.h.
#define NX_RCODE_CMD_NOT_IMPL 15 |
Definition at line 774 of file netxen_nic.h.
#define NX_RCODE_DOES_NOT_EXIST 12 |
Definition at line 771 of file netxen_nic.h.
#define NX_RCODE_INVALID_ACTION 7 |
Definition at line 766 of file netxen_nic.h.
#define NX_RCODE_INVALID_ARGS 6 |
Definition at line 765 of file netxen_nic.h.
#define NX_RCODE_INVALID_STATE 8 |
Definition at line 767 of file netxen_nic.h.
#define NX_RCODE_MAX 20 |
Definition at line 779 of file netxen_nic.h.
#define NX_RCODE_MAX_EXCEEDED 19 |
Definition at line 778 of file netxen_nic.h.
#define NX_RCODE_NO_CARD_CRB 3 |
Definition at line 762 of file netxen_nic.h.
#define NX_RCODE_NO_CARD_MEM 4 |
Definition at line 763 of file netxen_nic.h.
#define NX_RCODE_NO_CARD_RESOURCE 5 |
Definition at line 764 of file netxen_nic.h.
#define NX_RCODE_NO_HOST_MEM 1 |
Definition at line 760 of file netxen_nic.h.
#define NX_RCODE_NO_HOST_RESOURCE 2 |
Definition at line 761 of file netxen_nic.h.
#define NX_RCODE_NOT_PERMITTED 10 |
Definition at line 769 of file netxen_nic.h.
#define NX_RCODE_NOT_READY 11 |
Definition at line 770 of file netxen_nic.h.
#define NX_RCODE_NOT_SUPPORTED 9 |
Definition at line 768 of file netxen_nic.h.
#define NX_RCODE_SUCCESS 0 |
Definition at line 759 of file netxen_nic.h.
#define NX_RCODE_TIMEOUT 17 |
Definition at line 776 of file netxen_nic.h.
Definition at line 1223 of file netxen_nic.h.
#define NX_RX_LRO_BUFFER_LENGTH (8060) |
Definition at line 152 of file netxen_nic.h.
#define NX_TOE_LRO_REQUEST_ADD_FLOW 6 |
Definition at line 1065 of file netxen_nic.h.
#define NX_TOE_LRO_REQUEST_ADD_FLOW_RESPONSE 7 |
Definition at line 1066 of file netxen_nic.h.
#define NX_TOE_LRO_REQUEST_DELETE_FLOW 8 |
Definition at line 1067 of file netxen_nic.h.
#define NX_TOE_LRO_REQUEST_DELETE_FLOW_RESPONSE 9 |
Definition at line 1068 of file netxen_nic.h.
#define NX_TOE_LRO_REQUEST_TIMER 10 |
Definition at line 1069 of file netxen_nic.h.
#define NX_UNI_BIOS_VERSION_OFF 12 |
Definition at line 438 of file netxen_nic.h.
#define NX_UNI_BOOTLD_IDX_OFF 27 |
Definition at line 439 of file netxen_nic.h.
#define NX_UNI_CHIP_REV_OFF 10 |
Definition at line 436 of file netxen_nic.h.
#define NX_UNI_DIR_SECT_BOOTLD 0x6 |
Definition at line 432 of file netxen_nic.h.
#define NX_UNI_DIR_SECT_FW 0x7 |
Definition at line 433 of file netxen_nic.h.
#define NX_UNI_DIR_SECT_PRODUCT_TBL 0x0 |
Definition at line 431 of file netxen_nic.h.
#define NX_UNI_FIRMWARE_IDX_OFF 29 |
Definition at line 440 of file netxen_nic.h.
#define NX_UNI_FLAGS_OFF 11 |
Definition at line 437 of file netxen_nic.h.
#define NX_UNIFIED_ROMIMAGE 3 |
Definition at line 523 of file netxen_nic.h.
#define NX_UNIFIED_ROMIMAGE_NAME "phanfw.bin" |
Definition at line 530 of file netxen_nic.h.
#define NX_UNKNOWN_ROMIMAGE 0xff |
Definition at line 525 of file netxen_nic.h.
Definition at line 1231 of file netxen_nic.h.
Definition at line 1708 of file netxen_nic.h.
Definition at line 1712 of file netxen_nic.h.
Definition at line 1710 of file netxen_nic.h.
Definition at line 1714 of file netxen_nic.h.
#define P2_MAX_MTU (8000) |
Definition at line 140 of file netxen_nic.h.
#define P3_MAX_MTU (9600) |
Definition at line 141 of file netxen_nic.h.
#define PEGNET_REQUEST 0x11 |
Definition at line 173 of file netxen_nic.h.
#define PHAN_INITIALIZE_ACK 0xf00f |
Definition at line 193 of file netxen_nic.h.
#define PHAN_INITIALIZE_COMPLETE 0xff01 |
Definition at line 190 of file netxen_nic.h.
#define PHAN_INITIALIZE_FAILED 0xffff |
Definition at line 189 of file netxen_nic.h.
#define PHAN_INITIALIZE_START 0xff00 |
Definition at line 188 of file netxen_nic.h.
#define PHAN_PEG_RCV_INITIALIZED 0xff01 |
Definition at line 222 of file netxen_nic.h.
#define PHAN_PEG_RCV_START_INITIALIZE 0xff00 |
Definition at line 223 of file netxen_nic.h.
#define PREGS 7 |
Definition at line 1251 of file netxen_nic.h.
#define PRIMQ 103 |
Definition at line 1279 of file netxen_nic.h.
#define QUEUE 3 |
Definition at line 1247 of file netxen_nic.h.
#define RCV_BUFF_RINGSIZE | ( | rds_ring | ) | (sizeof(struct netxen_rx_buffer) * rds_ring->num_desc) |
Definition at line 79 of file netxen_nic.h.
Definition at line 77 of file netxen_nic.h.
#define RCV_RING_JUMBO 1 |
Definition at line 199 of file netxen_nic.h.
#define RCV_RING_LRO 2 |
Definition at line 200 of file netxen_nic.h.
#define RCV_RING_NORMAL 0 |
Definition at line 198 of file netxen_nic.h.
#define RDCON 14 |
Definition at line 1259 of file netxen_nic.h.
#define RDCRB 1 |
Definition at line 1245 of file netxen_nic.h.
#define RDEND 255 |
Definition at line 1277 of file netxen_nic.h.
#define RDMEM 72 |
Definition at line 1270 of file netxen_nic.h.
#define RDMN 73 |
Definition at line 1271 of file netxen_nic.h.
#define RDMUX 2 |
Definition at line 1246 of file netxen_nic.h.
#define RDNOP 0 |
Definition at line 1244 of file netxen_nic.h.
#define RDOC3 25 |
Definition at line 1265 of file netxen_nic.h.
#define RDOCM 6 |
Definition at line 1250 of file netxen_nic.h.
#define RDROM 71 |
Definition at line 1269 of file netxen_nic.h.
#define RDSRE 5 |
Definition at line 1249 of file netxen_nic.h.
#define RDSTK 13 |
Definition at line 1258 of file netxen_nic.h.
#define SECOND_PAGE_GROUP_END 0x68BC000 |
Definition at line 131 of file netxen_nic.h.
#define SECOND_PAGE_GROUP_SIZE SECOND_PAGE_GROUP_END - SECOND_PAGE_GROUP_START |
Definition at line 137 of file netxen_nic.h.
#define SECOND_PAGE_GROUP_START 0x6000000 |
Definition at line 130 of file netxen_nic.h.
#define SIZEOF_CARDRSP_RX | ( | CARDRSP_RX, | |
rds_rings, | |||
sds_rings | |||
) |
Definition at line 883 of file netxen_nic.h.
#define SIZEOF_CARDRSP_TX | ( | CARDRSP_TX | ) | (sizeof(CARDRSP_TX)) |
Definition at line 928 of file netxen_nic.h.
#define SIZEOF_HOSTRQ_RX | ( | HOSTRQ_RX, | |
rds_rings, | |||
sds_rings | |||
) |
Definition at line 878 of file netxen_nic.h.
#define SIZEOF_HOSTRQ_TX | ( | HOSTRQ_TX | ) | (sizeof(HOSTRQ_TX)) |
Definition at line 927 of file netxen_nic.h.
#define SQG2Q 104 |
Definition at line 1280 of file netxen_nic.h.
#define SQG3Q 105 |
Definition at line 1281 of file netxen_nic.h.
#define STATUS_CKSUM_OK (2) |
Definition at line 376 of file netxen_nic.h.
#define STATUS_DESC_RINGSIZE | ( | sds_ring | ) | (sizeof(struct status_desc) * (sds_ring)->num_desc) |
Definition at line 81 of file netxen_nic.h.
#define STATUS_NEED_CKSUM (1) |
Definition at line 375 of file netxen_nic.h.
#define STATUS_OWNER_HOST (0x1ULL << 56) |
Definition at line 379 of file netxen_nic.h.
#define STATUS_OWNER_PHANTOM (0x2ULL << 56) |
Definition at line 380 of file netxen_nic.h.
#define THIRD_PAGE_GROUP_END 0x8000000 |
Definition at line 134 of file netxen_nic.h.
#define THIRD_PAGE_GROUP_SIZE THIRD_PAGE_GROUP_END - THIRD_PAGE_GROUP_START |
Definition at line 138 of file netxen_nic.h.
#define THIRD_PAGE_GROUP_START 0x70E4000 |
Definition at line 133 of file netxen_nic.h.
#define TLHDR 99 |
Definition at line 1276 of file netxen_nic.h.
#define TX_BUFF_RINGSIZE | ( | tx_ring | ) | (sizeof(struct netxen_cmd_buffer) * tx_ring->num_desc) |
Definition at line 83 of file netxen_nic.h.
#define TX_DESC_RINGSIZE | ( | tx_ring | ) | (sizeof(struct cmd_desc_type0) * tx_ring->num_desc) |
Definition at line 85 of file netxen_nic.h.
#define TX_ETHER_PKT 0x01 |
Definition at line 160 of file netxen_nic.h.
#define TX_IP_PKT 0x04 |
Definition at line 163 of file netxen_nic.h.
#define TX_IPSEC 0x07 |
Definition at line 166 of file netxen_nic.h.
#define TX_IPSEC_CMD 0x0a |
Definition at line 167 of file netxen_nic.h.
#define TX_STOP_THRESH |
Definition at line 180 of file netxen_nic.h.
#define TX_TCP_LSO 0x05 |
Definition at line 164 of file netxen_nic.h.
#define TX_TCP_LSO6 0x06 |
Definition at line 165 of file netxen_nic.h.
#define TX_TCP_PKT 0x02 |
Definition at line 161 of file netxen_nic.h.
#define TX_TCPV6_PKT 0x0b |
Definition at line 168 of file netxen_nic.h.
#define TX_UDP_PKT 0x03 |
Definition at line 162 of file netxen_nic.h.
#define TX_UDPV6_PKT 0x0c |
Definition at line 169 of file netxen_nic.h.
#define VPORT_MISS_MODE_ACCEPT_ALL 1 /* accept all packets */ |
Definition at line 1056 of file netxen_nic.h.
#define VPORT_MISS_MODE_ACCEPT_MULTI 2 /* accept unmatched multicast */ |
Definition at line 1057 of file netxen_nic.h.
#define VPORT_MISS_MODE_DROP 0 /* drop all unmatched */ |
Definition at line 1055 of file netxen_nic.h.
typedef u32 netxen_ctx_msg |
Definition at line 246 of file netxen_nic.h.
typedef struct nx_mac_list_s nx_mac_list_t |
struct netxen_ring_ctx __attribute__ | ( | (aligned(64)) | ) |
struct status_desc __attribute__ | ( | (aligned(16)) | ) |
void netxen_advert_link_change | ( | struct netxen_adapter * | adapter, |
int | linkup | ||
) |
Definition at line 2130 of file netxen_nic_main.c.
int netxen_alloc_hw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 761 of file netxen_nic_ctx.c.
int netxen_alloc_sw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 193 of file netxen_nic_init.c.
int netxen_backup_crbinit | ( | struct netxen_adapter * | adapter | ) |
void netxen_change_ringparam | ( | struct netxen_adapter * | adapter | ) |
int netxen_check_flash_fw_compatibility | ( | struct netxen_adapter * | adapter | ) |
Definition at line 965 of file netxen_nic_init.c.
int netxen_config_bridged_mode | ( | struct netxen_adapter * | adapter, |
int | enable | ||
) |
Definition at line 832 of file netxen_nic_hw.c.
int netxen_config_hw_lro | ( | struct netxen_adapter * | adapter, |
int | enable | ||
) |
Definition at line 805 of file netxen_nic_hw.c.
int netxen_config_intr_coalesce | ( | struct netxen_adapter * | adapter | ) |
Definition at line 778 of file netxen_nic_hw.c.
int netxen_config_ipaddr | ( | struct netxen_adapter * | adapter, |
__be32 | ip, | ||
int | cmd | ||
) |
Definition at line 912 of file netxen_nic_hw.c.
int netxen_config_rss | ( | struct netxen_adapter * | adapter, |
int | enable | ||
) |
Definition at line 865 of file netxen_nic_hw.c.
void netxen_dump_fw | ( | struct netxen_adapter * | adapter | ) |
Definition at line 2547 of file netxen_nic_hw.c.
int netxen_flash_erase_primary | ( | struct netxen_adapter * | adapter | ) |
int netxen_flash_erase_secondary | ( | struct netxen_adapter * | adapter | ) |
int netxen_flash_unlock | ( | struct netxen_adapter * | adapter | ) |
void netxen_free_dummy_dma | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1302 of file netxen_nic_init.c.
void netxen_free_hw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 878 of file netxen_nic_ctx.c.
void netxen_free_sw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 164 of file netxen_nic_init.c.
int netxen_get_flash_mac_addr | ( | struct netxen_adapter * | adapter, |
u64 * | mac | ||
) |
Definition at line 1043 of file netxen_nic_hw.c.
void __iomem* netxen_get_ioaddr | ( | struct netxen_adapter * | , |
u32 | |||
) |
Definition at line 1359 of file netxen_nic_hw.c.
void netxen_halt_pegs | ( | struct netxen_adapter * | adapter | ) |
int netxen_init_dummy_dma | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1267 of file netxen_nic_init.c.
int netxen_init_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1394 of file netxen_nic_init.c.
int netxen_linkevent_request | ( | struct netxen_adapter * | adapter, |
int | enable | ||
) |
Definition at line 936 of file netxen_nic_hw.c.
int netxen_load_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1000 of file netxen_nic_init.c.
int netxen_need_fw_reset | ( | struct netxen_adapter * | adapter | ) |
Definition at line 895 of file netxen_nic_init.c.
int netxen_nic_change_mtu | ( | struct net_device * | netdev, |
int | new_mtu | ||
) |
Definition at line 991 of file netxen_nic_hw.c.
void netxen_nic_clear_stats | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1937 of file netxen_nic_init.c.
int netxen_nic_get_board_info | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1812 of file netxen_nic_hw.c.
int netxen_nic_reset_context | ( | struct netxen_adapter * | ) |
Definition at line 1281 of file netxen_nic_main.c.
void netxen_nic_update_cmd_producer | ( | struct netxen_adapter * | adapter, |
struct nx_host_tx_ring * | tx_ring | ||
) |
Definition at line 124 of file netxen_nic_main.c.
int netxen_nic_wol_supported | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1960 of file netxen_nic_hw.c.
void netxen_p3_free_mac_list | ( | struct netxen_adapter * | adapter | ) |
Definition at line 752 of file netxen_nic_hw.c.
int netxen_p3_get_mac_addr | ( | struct netxen_adapter * | adapter, |
u64 * | mac | ||
) |
Definition at line 1068 of file netxen_nic_hw.c.
void netxen_pci_camqm_read_2M | ( | struct netxen_adapter * | , |
u64 | , | ||
u64 * | |||
) |
Definition at line 1457 of file netxen_nic_hw.c.
void netxen_pci_camqm_write_2M | ( | struct netxen_adapter * | , |
u64 | , | ||
u64 | |||
) |
Definition at line 1468 of file netxen_nic_hw.c.
int netxen_pcie_sem_lock | ( | struct netxen_adapter * | , |
int | , | ||
u32 | |||
) |
Definition at line 324 of file netxen_nic_hw.c.
void netxen_pcie_sem_unlock | ( | struct netxen_adapter * | , |
int | |||
) |
Definition at line 344 of file netxen_nic_hw.c.
int netxen_phantom_init | ( | struct netxen_adapter * | adapter, |
int | pegtune_val | ||
) |
Definition at line 1338 of file netxen_nic_init.c.
int netxen_pinit_from_rom | ( | struct netxen_adapter * | adapter | ) |
Definition at line 439 of file netxen_nic_init.c.
void netxen_post_rx_buffers | ( | struct netxen_adapter * | adapter, |
u32 | ringid, | ||
struct nx_host_rds_ring * | rds_ring | ||
) |
Definition at line 1836 of file netxen_nic_init.c.
int netxen_process_cmd_ring | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1764 of file netxen_nic_init.c.
int netxen_process_rcv_ring | ( | struct nx_host_sds_ring * | sds_ring, |
int | max | ||
) |
Definition at line 1675 of file netxen_nic_init.c.
void netxen_release_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1261 of file netxen_nic_init.c.
void netxen_release_rx_buffers | ( | struct netxen_adapter * | adapter | ) |
Definition at line 108 of file netxen_nic_init.c.
void netxen_release_tx_buffers | ( | struct netxen_adapter * | adapter | ) |
Definition at line 132 of file netxen_nic_init.c.
void netxen_request_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1232 of file netxen_nic_init.c.
int netxen_rom_fast_read | ( | struct netxen_adapter * | adapter, |
int | addr, | ||
int * | valp | ||
) |
Definition at line 423 of file netxen_nic_init.c.
int netxen_rom_fast_read_words | ( | struct netxen_adapter * | adapter, |
int | addr, | ||
u8 * | bytes, | ||
size_t | size | ||
) |
Definition at line 408 of file netxen_nic_init.c.
int netxen_rom_fast_write_words | ( | struct netxen_adapter * | adapter, |
int | addr, | ||
u8 * | bytes, | ||
size_t | size | ||
) |
int netxen_rom_se | ( | struct netxen_adapter * | adapter, |
int | addr | ||
) |
int netxen_send_lro_cleanup | ( | struct netxen_adapter * | adapter | ) |
Definition at line 958 of file netxen_nic_hw.c.
void netxen_setup_hwops | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1774 of file netxen_nic_hw.c.
int netxen_setup_minidump | ( | struct netxen_adapter * | adapter | ) |
Definition at line 177 of file netxen_nic_ctx.c.
void netxen_watchdog_task | ( | struct work_struct * | work | ) |
int nx_dev_request_reset | ( | struct netxen_adapter * | adapter | ) |
Definition at line 2401 of file netxen_nic_main.c.
int nx_fw_cmd_query_phy | ( | struct netxen_adapter * | adapter, |
u32 | reg, | ||
u32 * | val | ||
) |
Definition at line 550 of file netxen_nic_ctx.c.
Definition at line 266 of file netxen_nic_ctx.c.
int nx_fw_cmd_set_mtu | ( | struct netxen_adapter * | adapter, |
int | mtu | ||
) |
Definition at line 244 of file netxen_nic_ctx.c.
int nx_fw_cmd_set_phy | ( | struct netxen_adapter * | adapter, |
u32 | reg, | ||
u32 | val | ||
) |
Definition at line 573 of file netxen_nic_ctx.c.
__le64 addr_buffer1 |
Definition at line 372 of file netxen_nic.h.
__le64 addr_buffer2 |
Definition at line 363 of file netxen_nic.h.
__le64 addr_buffer3 |
Definition at line 371 of file netxen_nic.h.
__le64 addr_buffer4 |
Definition at line 376 of file netxen_nic.h.
__le16 buffer_length[4] |
Definition at line 374 of file netxen_nic.h.
__le64 cmd_consumer_offset |
Definition at line 296 of file netxen_nic.h.
__le64 cmd_ring_addr |
Definition at line 297 of file netxen_nic.h.
__le32 cmd_ring_size |
Definition at line 298 of file netxen_nic.h.
__le16 conn_id |
Definition at line 369 of file netxen_nic.h.
__le32 ctx_id |
Definition at line 307 of file netxen_nic.h.
__le16 flags_opcode |
Definition at line 360 of file netxen_nic.h.
u8 ip_hdr_offset |
Definition at line 359 of file netxen_nic.h.
__le16 mss |
Definition at line 366 of file netxen_nic.h.
char netxen_nic_driver_name[] |
Definition at line 46 of file netxen_nic_main.c.
struct ethtool_ops netxen_nic_ethtool_ops |
Definition at line 930 of file netxen_nic_ethtool.c.
__le32 nfrags__length |
Definition at line 361 of file netxen_nic.h.
u8 port_ctxid |
Definition at line 367 of file netxen_nic.h.
struct netxen_rcv_ring rcv_rings[NUM_RCV_DESC_RINGS] |
Definition at line 302 of file netxen_nic.h.
__le16 reference_handle |
Definition at line 365 of file netxen_nic.h.
__le16 reserved |
Definition at line 379 of file netxen_nic.h.
__le32 reserved2 |
Definition at line 378 of file netxen_nic.h.
__le32 rsrvd |
Definition at line 299 of file netxen_nic.h.
__le64 rsrvd_2[3] |
Definition at line 309 of file netxen_nic.h.
__le32 rsrvd_3 |
Definition at line 311 of file netxen_nic.h.
__le64 status_desc_data[2] |
Definition at line 429 of file netxen_nic.h.
__le64 sts_ring_addr |
Definition at line 304 of file netxen_nic.h.
__le32 sts_ring_count |
Definition at line 310 of file netxen_nic.h.
__le32 sts_ring_size |
Definition at line 305 of file netxen_nic.h.
struct netxen_sts_ring sts_rings[NUM_STS_DESC_RINGS] |
Definition at line 312 of file netxen_nic.h.
u8 tcp_hdr_offset |
Definition at line 358 of file netxen_nic.h.
u8 total_hdr_length |
Definition at line 368 of file netxen_nic.h.
__le16 vlan_TCI |
Definition at line 380 of file netxen_nic.h.