mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1d062b7b6f
Most of the NIC configuration happens through the AdminQ message queue. NAPI is used for basic interrupt handling and message queue management. These routines are set up to be shared among different types of queues when used in slow-path handling. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
|
|
|
|
#ifndef _IONIC_DEBUGFS_H_
|
|
#define _IONIC_DEBUGFS_H_
|
|
|
|
#include <linux/debugfs.h>
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
|
|
void ionic_debugfs_create(void);
|
|
void ionic_debugfs_destroy(void);
|
|
void ionic_debugfs_add_dev(struct ionic *ionic);
|
|
void ionic_debugfs_del_dev(struct ionic *ionic);
|
|
void ionic_debugfs_add_ident(struct ionic *ionic);
|
|
void ionic_debugfs_add_sizes(struct ionic *ionic);
|
|
void ionic_debugfs_add_lif(struct ionic_lif *lif);
|
|
void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq);
|
|
void ionic_debugfs_del_lif(struct ionic_lif *lif);
|
|
void ionic_debugfs_del_qcq(struct ionic_qcq *qcq);
|
|
#else
|
|
static inline void ionic_debugfs_create(void) { }
|
|
static inline void ionic_debugfs_destroy(void) { }
|
|
static inline void ionic_debugfs_add_dev(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_del_dev(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_add_ident(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_add_sizes(struct ionic *ionic) { }
|
|
static inline void ionic_debugfs_add_lif(struct ionic_lif *lif) { }
|
|
static inline void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) { }
|
|
static inline void ionic_debugfs_del_lif(struct ionic_lif *lif) { }
|
|
static inline void ionic_debugfs_del_qcq(struct ionic_qcq *qcq) { }
|
|
#endif
|
|
|
|
#endif /* _IONIC_DEBUGFS_H_ */
|