Jintao 50c46e6857 Add LingYao
Change-Id: Iae6634ce565940904ee320c678d0f77473bebb90
2025-01-03 16:08:55 +08:00

29 lines
695 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

编译提示:
SIM环境编译时需关闭CONFIG_NOSIM_DEBUG
内核模拟环境调试需打开CONFIG_NOSIM_DEBUG
默认关闭:CONFIG_NOSIM_DEBUG
定义后端编号为idx的tx q的控制寄存器
0x1000 + (idx * 0x100) 最多8个
定义后端编号为idx的tx q的描述符长度寄存器
0x1004 + (idx * 0x100)
定义描述符地址lo寄存器
0x1008 + idx * 0x100
定义描述符地址hi寄存器
0x100c + idx * 0x100
定义doorbell寄存器
0x1010 + idx * 0x100
定义中断使能寄存器 0x3000 + (idx * 0x10)
增加netlink套接字用于后续用户态调试
测试用例详见ssh://git@bit.jaguarmicro.com:7999/~foryun.ma/shell_kernel_test.git 中,test_netlink函数