vxgehal-config-priv.h revision 330897
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright(c) 2002-2011 Exar Corp.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification are permitted provided the following conditions are met:
9 *
10 *    1. Redistributions of source code must retain the above copyright notice,
11 *       this list of conditions and the following disclaimer.
12 *
13 *    2. Redistributions in binary form must reproduce the above copyright
14 *       notice, this list of conditions and the following disclaimer in the
15 *       documentation and/or other materials provided with the distribution.
16 *
17 *    3. Neither the name of the Exar Corporation nor the names of its
18 *       contributors may be used to endorse or promote products derived from
19 *       this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 */
33/*$FreeBSD: stable/11/sys/dev/vxge/vxgehal/vxgehal-config-priv.h 330897 2018-03-14 03:19:51Z eadler $*/
34
35#ifndef	XGEHAL_CONFIG_PRIV_H
36#define	XGEHAL_CONFIG_PRIV_H
37
38__EXTERN_BEGIN_DECLS
39
40vxge_hal_status_e
41vxge_hal_driver_config_check(vxge_hal_driver_config_t *config);
42
43vxge_hal_status_e
44__hal_device_mac_config_check(vxge_hal_mac_config_t *mac_config);
45
46vxge_hal_status_e
47__hal_vpath_qos_config_check(vxge_hal_vpath_qos_config_t *config);
48
49vxge_hal_status_e
50__hal_mrpcim_config_check(vxge_hal_mrpcim_config_t *config);
51
52vxge_hal_status_e
53__hal_device_ring_config_check(vxge_hal_ring_config_t *ring_config);
54
55vxge_hal_status_e
56__hal_device_fifo_config_check(vxge_hal_fifo_config_t *fifo_config);
57
58vxge_hal_status_e
59__hal_device_lag_config_check(vxge_hal_lag_config_t *lag_config);
60
61vxge_hal_status_e
62__hal_device_lag_port_config_check(vxge_hal_lag_port_config_t *port_config);
63
64vxge_hal_status_e
65__hal_device_lag_aggr_config_check(vxge_hal_lag_aggr_config_t *aggr_config);
66
67vxge_hal_status_e
68__hal_device_lag_la_config_check(vxge_hal_lag_la_config_t *la_config);
69
70vxge_hal_status_e
71__hal_device_lag_ap_config_check(vxge_hal_lag_ap_config_t *ap_config);
72
73vxge_hal_status_e
74__hal_device_lag_sl_config_check(vxge_hal_lag_sl_config_t *sl_config);
75
76vxge_hal_status_e
77__hal_device_lag_lacp_config_check(vxge_hal_lag_lacp_config_t *lacp_config);
78
79vxge_hal_status_e
80__hal_device_wire_port_config_check(vxge_hal_wire_port_config_t *port_config);
81
82vxge_hal_status_e
83__hal_device_switch_port_config_check(
84    vxge_hal_switch_port_config_t *port_config);
85
86
87vxge_hal_status_e
88__hal_device_tim_intr_config_check(vxge_hal_tim_intr_config_t *tim_intr_config);
89
90vxge_hal_status_e
91__hal_device_vpath_config_check(vxge_hal_vp_config_t *vp_config);
92
93vxge_hal_status_e
94__hal_device_config_check(vxge_hal_device_config_t *new_config);
95
96__EXTERN_END_DECLS
97
98#endif	/* XGEHAL_CONFIG_PRIV_H */
99