Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
bfi_cna.h
Go to the documentation of this file.
1 /*
2  * Linux network driver for Brocade Converged Network Adapter.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License (GPL) Version 2 as
6  * published by the Free Software Foundation
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  */
13 /*
14  * Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
15  * All rights reserved
16  * www.brocade.com
17  */
18 #ifndef __BFI_CNA_H__
19 #define __BFI_CNA_H__
20 
21 #include "bfi.h"
22 #include "bfa_defs_cna.h"
23 
24 #pragma pack(1)
25 
31 };
32 
38 };
39 
40 /* Generic REQ type */
42  struct bfi_mhdr mh;
45 };
46 
47 /* Generic RSP type */
49  struct bfi_mhdr mh;
51  u8 rsvd[3];
53 };
54 
55 /* BFI_PORT_H2I_GET_STATS_REQ */
57  struct bfi_mhdr mh;
59 };
60 
62  struct bfi_mhdr mh;
67 };
68 
70  struct bfi_mhdr mh;
75 };
76 
77 /* @brief Mailbox commands from host to (DCBX/LLDP) firmware */
82 };
83 
84 /* @brief Mailbox reply and AEN messages from DCBX/LLDP firmware to host */
89 };
90 
91 /* Data structures */
92 
93 /*
94  * @brief H2I command structure for resetting the stats.
95  * BFI_CEE_H2I_RESET_STATS
96  */
98  struct bfi_mhdr mh;
99 };
100 
101 /*
102  * @brief H2I command structure for resetting the stats.
103  * BFI_CEE_H2I_RESET_STATS
104  */
106  struct bfi_mhdr mh;
107 };
108 
109 /*
110  * @brief get configuration command from host
111  * BFI_CEE_H2I_GET_CFG_REQ
112  */
114  struct bfi_mhdr mh;
116 };
117 
118 /*
119  * @brief reply message from firmware
120  * BFI_CEE_I2H_GET_CFG_RSP
121  */
123  struct bfi_mhdr mh;
125  u8 rsvd[3];
126 };
127 
128 /*
129  * @brief get configuration command from host
130  * BFI_CEE_H2I_GET_STATS_REQ
131  */
133  struct bfi_mhdr mh;
135 };
136 
137 /*
138  * @brief reply message from firmware
139  * BFI_CEE_I2H_GET_STATS_RSP
140  */
142  struct bfi_mhdr mh;
144  u8 rsvd[3];
145 };
146 
147 /* @brief mailbox command structures from host to firmware */
149  struct bfi_mhdr mh;
152 };
153 
154 /* @brief mailbox message structures from firmware to host */
156  struct bfi_mhdr mh;
159 };
160 
161 #pragma pack()
162 
163 #endif /* __BFI_CNA_H__ */