xref: /linux/drivers/infiniband/hw/usnic/usnic_debugfs.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1e3cf00d0SUpinder Malhi /*
2e3cf00d0SUpinder Malhi  * Copyright (c) 2013, Cisco Systems, Inc. All rights reserved.
3e3cf00d0SUpinder Malhi  *
4*3805eadeSJeff Squyres  * This software is available to you under a choice of one of two
5*3805eadeSJeff Squyres  * licenses.  You may choose to be licensed under the terms of the GNU
6*3805eadeSJeff Squyres  * General Public License (GPL) Version 2, available from the file
7*3805eadeSJeff Squyres  * COPYING in the main directory of this source tree, or the
8*3805eadeSJeff Squyres  * BSD license below:
9*3805eadeSJeff Squyres  *
10*3805eadeSJeff Squyres  *     Redistribution and use in source and binary forms, with or
11*3805eadeSJeff Squyres  *     without modification, are permitted provided that the following
12*3805eadeSJeff Squyres  *     conditions are met:
13*3805eadeSJeff Squyres  *
14*3805eadeSJeff Squyres  *      - Redistributions of source code must retain the above
15*3805eadeSJeff Squyres  *        copyright notice, this list of conditions and the following
16*3805eadeSJeff Squyres  *        disclaimer.
17*3805eadeSJeff Squyres  *
18*3805eadeSJeff Squyres  *      - Redistributions in binary form must reproduce the above
19*3805eadeSJeff Squyres  *        copyright notice, this list of conditions and the following
20*3805eadeSJeff Squyres  *        disclaimer in the documentation and/or other materials
21*3805eadeSJeff Squyres  *        provided with the distribution.
22e3cf00d0SUpinder Malhi  *
23e3cf00d0SUpinder Malhi  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24e3cf00d0SUpinder Malhi  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25e3cf00d0SUpinder Malhi  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26e3cf00d0SUpinder Malhi  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27e3cf00d0SUpinder Malhi  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28e3cf00d0SUpinder Malhi  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29e3cf00d0SUpinder Malhi  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30e3cf00d0SUpinder Malhi  * SOFTWARE.
31e3cf00d0SUpinder Malhi  *
32e3cf00d0SUpinder Malhi  */
33e3cf00d0SUpinder Malhi #ifndef USNIC_DEBUGFS_H_
34e3cf00d0SUpinder Malhi #define USNIC_DEBUGFS_H_
35e3cf00d0SUpinder Malhi 
369f637f79SUpinder Malhi #include "usnic_ib_qp_grp.h"
379f637f79SUpinder Malhi 
38e3cf00d0SUpinder Malhi void usnic_debugfs_init(void);
39e3cf00d0SUpinder Malhi 
40e3cf00d0SUpinder Malhi void usnic_debugfs_exit(void);
419f637f79SUpinder Malhi void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow);
429f637f79SUpinder Malhi void usnic_debugfs_flow_remove(struct usnic_ib_qp_grp_flow *qp_flow);
43e3cf00d0SUpinder Malhi 
44e3cf00d0SUpinder Malhi #endif /*!USNIC_DEBUGFS_H_ */
45