diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2013-09-11 04:40:12 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-09-11 05:12:25 -0400 |
commit | 56a62fc8689509fb86bcb20768d575b81d9c311e (patch) | |
tree | 730bd7cdea03abbf5a8dfbc276d28d4063534ea4 /drivers/net/ethernet/intel/i40e/i40e_status.h | |
parent | 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd (diff) |
i40e: init code and hardware support
This patch implements the hardware specific init and management.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
CC: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
CC: e1000-devel@lists.sourceforge.net
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_status.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_status.h | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_status.h b/drivers/net/ethernet/intel/i40e/i40e_status.h new file mode 100644 index 000000000000..5e5bcddac573 --- /dev/null +++ b/drivers/net/ethernet/intel/i40e/i40e_status.h | |||
@@ -0,0 +1,101 @@ | |||
1 | /******************************************************************************* | ||
2 | * | ||
3 | * Intel Ethernet Controller XL710 Family Linux Driver | ||
4 | * Copyright(c) 2013 Intel Corporation. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms and conditions of the GNU General Public License, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License along with | ||
16 | * this program; if not, write to the Free Software Foundation, Inc., | ||
17 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
18 | * | ||
19 | * The full GNU General Public License is included in this distribution in | ||
20 | * the file called "COPYING". | ||
21 | * | ||
22 | * Contact Information: | ||
23 | * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> | ||
24 | * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 | ||
25 | * | ||
26 | ******************************************************************************/ | ||
27 | |||
28 | #ifndef _I40E_STATUS_H_ | ||
29 | #define _I40E_STATUS_H_ | ||
30 | |||
31 | /* Error Codes */ | ||
32 | enum i40e_status_code { | ||
33 | I40E_SUCCESS = 0, | ||
34 | I40E_ERR_NVM = -1, | ||
35 | I40E_ERR_NVM_CHECKSUM = -2, | ||
36 | I40E_ERR_PHY = -3, | ||
37 | I40E_ERR_CONFIG = -4, | ||
38 | I40E_ERR_PARAM = -5, | ||
39 | I40E_ERR_MAC_TYPE = -6, | ||
40 | I40E_ERR_UNKNOWN_PHY = -7, | ||
41 | I40E_ERR_LINK_SETUP = -8, | ||
42 | I40E_ERR_ADAPTER_STOPPED = -9, | ||
43 | I40E_ERR_INVALID_MAC_ADDR = -10, | ||
44 | I40E_ERR_DEVICE_NOT_SUPPORTED = -11, | ||
45 | I40E_ERR_MASTER_REQUESTS_PENDING = -12, | ||
46 | I40E_ERR_INVALID_LINK_SETTINGS = -13, | ||
47 | I40E_ERR_AUTONEG_NOT_COMPLETE = -14, | ||
48 | I40E_ERR_RESET_FAILED = -15, | ||
49 | I40E_ERR_SWFW_SYNC = -16, | ||
50 | I40E_ERR_NO_AVAILABLE_VSI = -17, | ||
51 | I40E_ERR_NO_MEMORY = -18, | ||
52 | I40E_ERR_BAD_PTR = -19, | ||
53 | I40E_ERR_RING_FULL = -20, | ||
54 | I40E_ERR_INVALID_PD_ID = -21, | ||
55 | I40E_ERR_INVALID_QP_ID = -22, | ||
56 | I40E_ERR_INVALID_CQ_ID = -23, | ||
57 | I40E_ERR_INVALID_CEQ_ID = -24, | ||
58 | I40E_ERR_INVALID_AEQ_ID = -25, | ||
59 | I40E_ERR_INVALID_SIZE = -26, | ||
60 | I40E_ERR_INVALID_ARP_INDEX = -27, | ||
61 | I40E_ERR_INVALID_FPM_FUNC_ID = -28, | ||
62 | I40E_ERR_QP_INVALID_MSG_SIZE = -29, | ||
63 | I40E_ERR_QP_TOOMANY_WRS_POSTED = -30, | ||
64 | I40E_ERR_INVALID_FRAG_COUNT = -31, | ||
65 | I40E_ERR_QUEUE_EMPTY = -32, | ||
66 | I40E_ERR_INVALID_ALIGNMENT = -33, | ||
67 | I40E_ERR_FLUSHED_QUEUE = -34, | ||
68 | I40E_ERR_INVALID_PUSH_PAGE_INDEX = -35, | ||
69 | I40E_ERR_INVALID_IMM_DATA_SIZE = -36, | ||
70 | I40E_ERR_TIMEOUT = -37, | ||
71 | I40E_ERR_OPCODE_MISMATCH = -38, | ||
72 | I40E_ERR_CQP_COMPL_ERROR = -39, | ||
73 | I40E_ERR_INVALID_VF_ID = -40, | ||
74 | I40E_ERR_INVALID_HMCFN_ID = -41, | ||
75 | I40E_ERR_BACKING_PAGE_ERROR = -42, | ||
76 | I40E_ERR_NO_PBLCHUNKS_AVAILABLE = -43, | ||
77 | I40E_ERR_INVALID_PBLE_INDEX = -44, | ||
78 | I40E_ERR_INVALID_SD_INDEX = -45, | ||
79 | I40E_ERR_INVALID_PAGE_DESC_INDEX = -46, | ||
80 | I40E_ERR_INVALID_SD_TYPE = -47, | ||
81 | I40E_ERR_MEMCPY_FAILED = -48, | ||
82 | I40E_ERR_INVALID_HMC_OBJ_INDEX = -49, | ||
83 | I40E_ERR_INVALID_HMC_OBJ_COUNT = -50, | ||
84 | I40E_ERR_INVALID_SRQ_ARM_LIMIT = -51, | ||
85 | I40E_ERR_SRQ_ENABLED = -52, | ||
86 | I40E_ERR_ADMIN_QUEUE_ERROR = -53, | ||
87 | I40E_ERR_ADMIN_QUEUE_TIMEOUT = -54, | ||
88 | I40E_ERR_BUF_TOO_SHORT = -55, | ||
89 | I40E_ERR_ADMIN_QUEUE_FULL = -56, | ||
90 | I40E_ERR_ADMIN_QUEUE_NO_WORK = -57, | ||
91 | I40E_ERR_BAD_IWARP_CQE = -58, | ||
92 | I40E_ERR_NVM_BLANK_MODE = -59, | ||
93 | I40E_ERR_NOT_IMPLEMENTED = -60, | ||
94 | I40E_ERR_PE_DOORBELL_NOT_ENABLED = -61, | ||
95 | I40E_ERR_DIAG_TEST_FAILED = -62, | ||
96 | I40E_ERR_NOT_READY = -63, | ||
97 | I40E_NOT_SUPPORTED = -64, | ||
98 | I40E_ERR_FIRMWARE_API_VERSION = -65, | ||
99 | }; | ||
100 | |||
101 | #endif /* _I40E_STATUS_H_ */ | ||