https://en.wikipedia.org/wiki/Thread_control_block Thread Control Block (TCB) is a data structure in the operating system kernel which contains thread-specific information needed to manage it. The TCB is "the manifestation of a thread in an operating…
Thread Control Block The following is the declaration of the Thread Control Block. struct tcb { u32_t status; struct reg_context thread_context; void *stack; struct thread_info thread_params; u32_t executedTime; struct tcb *recoveryTask; u32_t sched_…
Table table是p4的匹配——动作表,定义了匹配字段(key).动作(action)和一些其他相关属性. 其处理数据包的流程: Key construction.建立其匹配字段 Key lookup in a lookup table.The result of key lookup is an "action". 数据包中去匹配table中的key中的字段,并获得要执行的"action". Action execution.执行动作. key key由一个…