Linux 内核对交换芯片上送的协议报文的处理
摘要:1. 应用场景 对于数据报文,交换芯片完成硬件转发,即转发层面,无须cpu的参与。 对于协议报文,例如L2 的 EAPS环网检测,需要上送cpu,由应用层处理,即控制层面。 2. 内核接收报文处理 在交换芯片收到协议报文时,芯片会根据寄存器配置,在source mac之后插入入端口等字段信息,tra
阅读全文
posted @
2022-08-21 11:07
wallywl
阅读(469)
推荐(0)
h3c s6800交换机probe命令
摘要:<H3C>sysSystem View: return to User View with Ctrl+Z. [H3C]probe[H3C-probe]?Probe view commands: INTEGER<0-1> Switch NO bcm BCM [H3C-probe]bcm slot 1
阅读全文
posted @
2022-08-21 10:14
wallywl
阅读(813)
推荐(0)
批处理生成带编译日期的头文件
摘要::: start set build date time @SET BUILD_INFO_FILE=components\include\build_info.h @echo offfor /f "tokens=1-3 delims=-/. " %%j in ('Date /T') do ( set
阅读全文
posted @
2022-08-04 11:21
wallywl
阅读(83)
推荐(0)