mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
All network drivers! Change pre-processor logic that selects the high priority work queue or gives preferential treatment to the high priority work. All network logic must run on the low priority work queue! Or suffer the consequences.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
|
||||
#if !defined(CONFIG_SCHED_WORKQUEUE)
|
||||
# error Work queue support is required in this configuration (CONFIG_SCHED_WORKQUEUE)
|
||||
#else
|
||||
#endif
|
||||
|
||||
/* The low priority work queue is preferred. If it is not enabled, LPWORK
|
||||
* will be the same as HPWORK. NOTE: Use of the high priority work queue will
|
||||
@@ -101,8 +101,7 @@
|
||||
* performance. This should be avoided.
|
||||
*/
|
||||
|
||||
# define ETHWORK LPWORK
|
||||
#endif
|
||||
#define ETHWORK LPWORK
|
||||
|
||||
/* CONFIG_CDCECM_NINTERFACES determines the number of physical interfaces
|
||||
* that will be supported.
|
||||
|
||||
Reference in New Issue
Block a user