【标题描述】带ltran启动时,使用pdump抓包,抓ltran和lstack的包都会报错
【环境信息】
openeulerversion=openEuler-22.03-LTS-SP1
compiletime=2022-12-05-19-00-44
gccversion=10.3.1-17.oe2203sp1
kernelversion=5.10.0-132.0.0.73.oe2203sp1
openjdkversion=1.8.0.352.b08-3.oe2203sp1
gazelle-1.0.1-25.oe2203sp1.aarch64
dpdk-21.11-26.oe2203sp1.aarch64
【问题复现步骤】
服务端ltran和lstack配置如下
启动ltran和lstack
使用命令抓包
gazelle-pdump --file-prefix lstack_file -- --pdump 'device_id=0000:04:00.0,queue=,rx-dev=/root/1.pcap,tx-dev=/root/2.pcap'
gazelle-pdump --file-prefix ltran_file -- --pdump 'device_id=0000:04:00.0,queue=,rx-dev=/root/1.pcap,tx-dev=/root/2.pcap'
【预期结果】
可以正常抓包成功
【实际结果】
会产生报错
[图片上传中…(image-qjEtlqRGfIWzYdV8LZpP)]
【附件信息】
NA
Hi chenshijuan3, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-high-performance-network, and any of the maintainers: @L.X. , @LemmyHuang , @sky , @李扬扬 , @吴昌盛 , @jinag12 , @lilijun , @李辉松
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1、pdump无法抓取ltran的包,是因为ltran在编译时未加入抓包的动态库链接,在此issue关联的pr中已修改;
2、pdump无法抓取lstack的包,是因为lstack在ltran的管理下,并未直接和网卡进行通信,只需要抓取ltran的包,再进行ip地址/mac地址过滤就能够过滤出lstack的包;
登录 后才可以发表评论