xref: /illumos-gate/usr/src/uts/common/io/bnx/include/hsi.h (revision 45ede40b2394db7967e59f19288fae9b62efd4aa)
1 /*
2  * Copyright 2014-2017 Cavium, Inc.
3  * The contents of this file are subject to the terms of the Common Development
4  * and Distribution License, v.1,  (the "License").
5  *
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the License at available
9  * at http://opensource.org/licenses/CDDL-1.0
10  *
11  * See the License for the specific language governing permissions and
12  * limitations under the License.
13  */
14 
15 #ifndef PRIVATE_HSI_H
16 #define PRIVATE_HSI_H
17 
18 #define tcp_syn_dos_defense		(0x10 + 0x020)
19 #define rxp_unicast_bytes_rcvd		(0x10 + 0x0d0)
20 #define rxp_multicast_bytes_rcvd	(0x10 + 0x0d8)
21 #define rxp_broadcast_bytes_rcvd	(0x10 + 0x0e0)
22 #define RXP_HSI_OFFSETOFF(x)		(x)
23 
24 #define com_no_buffer			(0x10 + 0x074)
25 #define COM_HSI_OFFSETOFF(x)		(x)
26 
27 #define unicast_bytes_xmit		(0x410 + 0x030)
28 #define multicast_bytes_xmit		(0x410 + 0x038)
29 #define broadcast_bytes_xmit		(0x410 + 0x040)
30 #define TPAT_HSI_OFFSETOFF(x)		(x)
31 
32 #endif
33