-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dwc_eqos - add performance counters To help with tuning and diagnostics, expose some performance counters so developers can see some of the adapter state without debugging. You can use Windows in-box tools like perfmon or typeperf to see the values. - dwc_eqos-debug: debug event counts like ISR-handled, ISR-unhandled, DPC-by-type. - dwc_eqos-mac: values of various GMAC registers, mainly the MMC counters. Overview: - Keep a collection of active devices so we can enumerate them if anybody asks to collect performance counters. - Define an ID for each device. Use the device's physical address for this, shifted right by 4 to provide support for 36 bits of physical address. - Change the AXI bus parameters to match the docs. I didn't actually perform any tuning here - I just changed the parameters to match up with what the docs describe and verified that this didn't break anything. - Enable the MMC counters and mask their rollover interrupts. - Implement PCW counter collection. - Run ctrpp on the performance counter manifest during build. - Include the generated resources into the driver during build. * Add some queue counters
- Loading branch information
Showing
13 changed files
with
993 additions
and
57 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#include <verrsrc.h> | ||
#include <dwc_eqos_perf.rc> | ||
|
||
#define VER_FILETYPE VFT_DRV | ||
#define VER_FILESUBTYPE VFT2_DRV_SYSTEM | ||
#define VER_FILEDESCRIPTION_STR "Synopsys DesignWare Ethernet Quality of Service (GMAC) driver for RK3588" | ||
#define VER_INTERNALNAME_STR "dwc_eqos.sys" | ||
#define VER_ORIGINALFILENAME_STR "dwc_eqos.sys" | ||
|
||
#define VER_LEGALCOPYRIGHT_YEARS "2023" | ||
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) " VER_LEGALCOPYRIGHT_YEARS | ||
|
||
#define VER_FILEVERSION 1,0,0,0 | ||
#define VER_PRODUCTVERSION_STR "1.0.0.0" | ||
#define VER_PRODUCTVERSION 1,0,0,0 | ||
#define LVER_PRODUCTVERSION_STR L"1.0.0.0" | ||
|
||
#define VER_FILEFLAGSMASK (VS_FF_DEBUG | VS_FF_PRERELEASE) | ||
#ifdef DEBUG | ||
#define VER_FILEFLAGS (VS_FF_DEBUG) | ||
#else | ||
#define VER_FILEFLAGS (0) | ||
#endif | ||
|
||
#define VER_FILEOS VOS_NT_WINDOWS32 | ||
|
||
#define VER_COMPANYNAME_STR "Open Source" | ||
#define VER_PRODUCTNAME_STR "RK3588" | ||
|
||
#include "common.ver" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.