1. Dl_meta_get_output_port[]
2. Dl_meta_set_output_port[]
3. Dl_buf_set_SOP[]
设置buf_handle的SOP bit有效,表示这个buffer是一个SOP
4. Dl_buf_set_EOP[]
见18
5. Dl_exception_set[]
写exception code到dl_exception_reg中,格式为:[0:10] block id,[10:31] exception code。
#macro dl_exception_set[block_id, exception_code]
6. Dl_set_priority[]
设置exception code的属性。Dl_exception_send[]依赖属性值把exception code发送到scratch ring0 还是scratch ring1中。
7. Dl_exception_send[]
写两个longwords exception和触发激活RM ISR,两个longwords包括buffer handle和exception code。前提条件假设exception code存储在dl_exception_reg中。
8. Dl_get_block_id[]
从dl_exception_reg中的block id[0:10]得到block id。
9. Dl_iphdr_cache_init[]
初始化IP Header Caching。作用是分配一系列的传输寄存器。
10. Dl_iphdr_load_cache[]
从packet中读32bytes IP Header到DRAM传输寄存器中。
#macro dl_iphdr_load_cache[buf_handle, req_sig, sig_action]
11. Dl_iphdr_flush_cache[]
存储在DRAM传输寄存器中的32bytes IP Header写回DRAM中。
12. Dl_iphdr_cache_fini[]
释放分配的DRAM传输寄存器。
【参考】
《Intel IXA Portability Framework Developer’s Manual, August 2005》
《Intel IXA Portability Framework Reference Manual , August 2005》