Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pdump/dumpcap/misserr/ipfrag/mempoolops/meson_options
1. app/dumpcap : 保留设备原本状态(混杂模式); 增加file-prefix 参数 2. lib/pdump : 增加多进程支持(当以子进程方式操作tx/rx网卡时,主进程将收到enable/disable_dump后,以广播的形式通知订阅了pdump(action)的子进程enable/disable_dump) 3. lib/mempool/rte_mempool_ops.c 对注册的ops表进行排序处理;当主进程和子进程不是相同bin文件时,初始化ops的顺序可能不一致,会导致mempool->ops_index 不一致,最后引起coredump问题。 myapp和dpdk-pdump便出现了该问题。两个app初始化的 ·rte_mempool_ops_table· 值不一样 4. meson_options.txt add enable_mempool_debug option; will on/off RTE_LIBRTE_MEMPOOL_DEBUG 5. lib/ethdev/rte_ethdev.c 修改rte_eth_dev_start函数,提前eth_dev_fp_ops_setup暴露快速接口。 primary进程中,应该先将快速接口暴露,再启动网卡设备,以防出现启动设备后,接收队列填满,但消费线程还未及时消费的情况(会出现 misserr 的统计错误信息) 6. lib/ip_frag/rte_ip_frag.h lib/ip_frag/rte_ipv4_reassembly.c lib/ip_frag/rte_ipv6_reassembly.c ip分片重组增加接口,将分组片数返回
- Loading branch information
Showing
10 changed files
with
142 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters