diff options
author | Furong Xu <0x1207@gmail.com> | 2024-11-01 16:31:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-04 02:31:23 +0300 |
commit | c9cd9a5a834c27b3ac7989505e7fa9299520f2c5 (patch) | |
tree | 472d560eb97039f0cae557147233126acbf8a495 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | af478ca822042a18fbb07eac856eff35ecfe2e7f (diff) | |
download | linux-c9cd9a5a834c27b3ac7989505e7fa9299520f2c5.tar.xz |
net: stmmac: Refactor FPE functions to generic version
FPE implementation for DWMAC4 and DWXGMAC differs only for:
1) Offset address of MAC_FPE_CTRL_STS and MTL_FPE_CTRL_STS
2) FPRQ(Frame Preemption Residue Queue) field in MAC_RxQ_Ctrl1
3) Bit offset of Frame Preemption Interrupt Enable
Refactor FPE functions to avoid code duplication and
to simplify the code flow by avoiding the use of
function pointers.
Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/49de4607bae69ffe751b13329a3c07a990b82419.1730449003.git.0x1207@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions