10 Star 4 Fork 34

src-openEuler/gazelle

 / 详情

【22.03 LTS SP1】【功能】带ltran启动时,使用pdump抓包,抓ltran和lstack的包都会报错

已完成
缺陷
创建于  
2022-12-09 10:54

【标题描述】带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

评论 (2)

chenshijuan3 创建了缺陷

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 , @李辉松

openeuler-ci-bot 添加了
 
sig/sig-high-perform
标签
chenshijuan3 添加协作者kircher
chenshijuan3 负责人设置为kircher
chenshijuan3 取消协作者kircher
chenshijuan3 优先级设置为主要
kircher 通过src-openeuler/gazelle Pull Request !157任务状态待办的 修改为已完成
kircher 任务状态已完成 修改为修复中

1、pdump无法抓取ltran的包,是因为ltran在编译时未加入抓包的动态库链接,在此issue关联的pr中已修改;
2、pdump无法抓取lstack的包,是因为lstack在ltran的管理下,并未直接和网卡进行通信,只需要抓取ltran的包,再进行ip地址/mac地址过滤就能够过滤出lstack的包;

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 5637219 kircher 1679659460
1
https://gitee.com/src-openeuler/gazelle.git
git@gitee.com:src-openeuler/gazelle.git
src-openeuler
gazelle
gazelle

搜索帮助

A270a887 8829481 3d7a4017 8829481