1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Microchip Sparx5 Switch driver VCAP implementation
4 * Copyright (c) 2022 Microchip Technology Inc. and its subsidiaries.
7 #ifndef __SPARX5_VCAP_DEBUGFS_H__
8 #define __SPARX5_VCAP_DEBUGFS_H__
10 #include <linux/netdevice.h>
13 #include <vcap_api_client.h>
15 #if defined(CONFIG_DEBUG_FS)
17 /* Provide port information via a callback interface */
18 int sparx5_port_info(struct net_device
*ndev
,
19 struct vcap_admin
*admin
,
20 struct vcap_output_print
*out
);
24 static inline int sparx5_port_info(struct net_device
*ndev
,
25 struct vcap_admin
*admin
,
26 struct vcap_output_print
*out
)
33 #endif /* __SPARX5_VCAP_DEBUGFS_H__ */