Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix MPFS_ETHMAC_HPWORK flag #194

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions arch/risc-v/src/mpfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,20 @@ endchoice # GMAC speed

endif # !MPFS_MAC_AUTONEG

config MPFS_ETHMAC_HPWORK
bool "Use HP workqueue"
default n
depends on MPFS_ETHMAC
---help---
Select HPWORK workqueue for eth ISR work

config MPFS_ETHMAC_LPWORK
bool "Use LP workqueue"
default n
depends on MPFS_ETHMAC
---help---
Select LPWORK workqueue for eth ISR work

config MPFS_ETHMAC_MDC_CLOCK_SOURCE_HZ
int "MDC Clock Source (Hz)"
default 125000000
Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/mpfs/mpfs_ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
# elif defined(CONFIG_MPFS_ETHMAC_LPWORK)
# define ETHWORK LPWORK
# else
# define ETHWORK LPWORK
# define ETHWORK HPWORK
# endif
#endif

Expand Down
Loading