xref: /illumos-gate/usr/src/uts/common/io/bnx/mm.h (revision 66582b606a8194f7f3ba5b3a3a6dca5b0d346361)
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 /*
16  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
17  */
18 
19 #ifndef	_MM_H_
20 #define	_MM_H_
21 
22 #include "bnx_mm.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /*
29  * Add some preprocessor definitions that
30  * should technically be part of the LM.
31  */
32 #define	LM_HC_RX_QUICK_CONS_TRIP_VAL_MAX	256
33 #define	LM_HC_RX_QUICK_CONS_TRIP_INT_MAX	256
34 
35 #define	LM_HC_RX_TICKS_VAL_MAX			511
36 #define	LM_HC_RX_TICKS_INT_MAX			1023
37 
38 
39 #define	mm_indicate_rx(a, b, c, d)
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* _MM_H_ */
46