xref: /titanic_50/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/mac_stx.h (revision d14abf155341d55053c76eeec58b787a456b753b)
1 /****************************************************************************
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  *
21  * Copyright 2014 QLogic Corporation
22  * The contents of this file are subject to the terms of the
23  * QLogic End User License (the "License").
24  * You may not use this file except in compliance with the License.
25  *
26  * You can obtain a copy of the License at
27  * http://www.qlogic.com/Resources/Documents/DriverDownloadHelp/
28  * QLogic_End_User_Software_License.txt
29  * See the License for the specific language governing permissions
30  * and limitations under the License.
31  *
32  *
33  * Name: mac_stx.h
34  *
35  * Description: Host collected MAC statistics
36  *
37  * Author: Yitchak Gertner
38  *
39  * $Date: 2014/01/02 $       $Revision: #20 $
40  ****************************************************************************/
41 
42 #ifndef MAC_STX_H
43 #define MAC_STX_H
44 
45 
46 #include "mac_stats.h"
47 #include "mac_drv_info.h"
48 
49 
50 #define MAC_STX_NA                          0xffffffff
51 
52 
53 typedef struct emac_stats      emac_stats_t;
54 typedef struct bmac1_stats     bmac1_stats_t;
55 typedef struct bmac2_stats     bmac2_stats_t;
56 typedef union  mac_stats       mac_stats_t;
57 typedef struct mac_stx         mac_stx_t;
58 typedef struct host_port_stats host_port_stats_t;
59 typedef struct host_func_stats host_func_stats_t;
60 
61 
62 typedef struct fcoe_capabilities   fcoe_capabilities_t;
63 typedef struct port_info           port_info_t;
64 typedef struct eth_stats_info      eth_stats_info_t;
65 typedef struct fcoe_stats_info     fcoe_stats_info_t;
66 typedef struct fcoe_stats_enhanced fcoe_stats_enhanced_t;
67 typedef struct iscsi_stats_info    iscsi_stats_info_t;
68 
69 #endif /* MAC_STX_H */
70 
71