mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
Move network polling code to bottom half
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
9804f053f2
commit
7d24e63216
@ -11,3 +11,9 @@ pub const TIMER_SOFTIRQ_ID: u8 = 1;
|
||||
|
||||
/// The corresponding softirq line is used to schedule general taskless jobs.
|
||||
pub const TASKLESS_SOFTIRQ_ID: u8 = 2;
|
||||
|
||||
/// The corresponding softirq line is used to handle transmission network events.
|
||||
pub const NETWORK_TX_SOFTIRQ_ID: u8 = 3;
|
||||
|
||||
/// The corresponding softirq line is used to handle reception network events.
|
||||
pub const NETWORK_RX_SOFTIRQ_ID: u8 = 4;
|
||||
|
Reference in New Issue
Block a user