mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
cabfb09d87
This adds debugfs support for bnxt_en with the purpose of allowing users to examine the current DIM profile in use for each receive queue. This was instrumental in debugging issues found with DIM and ensuring that the profiles we expect to use are the profiles being used. Signed-off-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
24 lines
699 B
C
24 lines
699 B
C
/* Broadcom NetXtreme-C/E network driver.
|
|
*
|
|
* Copyright (c) 2017-2018 Broadcom Limited
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#include "bnxt_hsi.h"
|
|
#include "bnxt.h"
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void bnxt_debug_init(void);
|
|
void bnxt_debug_exit(void);
|
|
void bnxt_debug_dev_init(struct bnxt *bp);
|
|
void bnxt_debug_dev_exit(struct bnxt *bp);
|
|
#else
|
|
static inline void bnxt_debug_init(void) {}
|
|
static inline void bnxt_debug_exit(void) {}
|
|
static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
|
|
static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
|
|
#endif
|