gnuradio-dpdk
所属分类:网络编程
开发工具:Python
文件大小:0KB
下载次数:2
上传日期:2021-12-19 16:29:03
上 传 者:
sh-1993
说明: 使用DPDK的IQ样本的UDP RX实现,
(UDP RX implementation for IQ samples using DPDK,)
文件列表:
LICENSE (1062, 2021-12-19)
gr-dpdk/ (0, 2021-12-19)
gr-dpdk/CMakeLists.txt (6280, 2021-12-19)
gr-dpdk/MANIFEST.md (714, 2021-12-19)
gr-dpdk/apps/ (0, 2021-12-19)
gr-dpdk/apps/CMakeLists.txt (929, 2021-12-19)
gr-dpdk/cmake/ (0, 2021-12-19)
gr-dpdk/cmake/Modules/ (0, 2021-12-19)
gr-dpdk/cmake/Modules/CMakeParseArgumentsCopy.cmake (5892, 2021-12-19)
gr-dpdk/cmake/Modules/dpdkConfig.cmake (795, 2021-12-19)
gr-dpdk/cmake/Modules/targetConfig.cmake.in (989, 2021-12-19)
gr-dpdk/cmake/cmake_uninstall.cmake.in (1370, 2021-12-19)
gr-dpdk/docs/ (0, 2021-12-19)
gr-dpdk/docs/CMakeLists.txt (1462, 2021-12-19)
gr-dpdk/docs/doxygen/ (0, 2021-12-19)
gr-dpdk/docs/doxygen/CMakeLists.txt (2090, 2021-12-19)
gr-dpdk/docs/doxygen/Doxyfile.in (81716, 2021-12-19)
gr-dpdk/docs/doxygen/Doxyfile.swig_doc.in (80243, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/ (0, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/__init__.py (2592, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/base.py (6929, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/doxyindex.py (8976, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/ (0, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/__init__.py (275, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/compound.py (20346, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/compoundsuper.py (360037, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/index.py (1964, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/generated/indexsuper.py (19356, 2021-12-19)
gr-dpdk/docs/doxygen/doxyxml/text.py (1941, 2021-12-19)
gr-dpdk/docs/doxygen/other/ (0, 2021-12-19)
gr-dpdk/docs/doxygen/other/group_defs.dox (205, 2021-12-19)
gr-dpdk/docs/doxygen/other/main_page.dox (269, 2021-12-19)
gr-dpdk/docs/doxygen/swig_doc.py (11916, 2021-12-19)
gr-dpdk/examples/ (0, 2021-12-19)
gr-dpdk/grc/ (0, 2021-12-19)
gr-dpdk/grc/CMakeLists.txt (934, 2021-12-19)
... ...
# gnuradio-dpdk
UDP RX implementation for IQ samples using DPDK
# Features
* accepts UDP packets with legacy CHDR header (64 bits) and IQ samples in LE format
* outputs complex stream
* core 0 and 1 for rx threads and dpdk device id 0 are currently hardcoded
For details of legacy CHDR see https://files.ettus.com/manual/page_rtp.html
# Requirements
* pkg-config (tested with Ubuntu 21.04)
* dpdk (tested with 21.11)
* gnuradio >= 3.8
* cmake
* cisco trex for testing
# Installation
```
cd gr-dpdk
mkdir build
cd build
cmake ../
```
Specify the python site-package path if multiple python installations are available:
```
cmake ../ -DGR_PYTHON_DIR=/usr/local/lib/python3.9/dist-packages
```
```
make
make install
```
# Test
* setup DPDK and bind interface
* wire up a dpdk_source (port 12) to a QT GUI time sink (autoscale enabled)
![GRC](https://github.com/screenshots/grc.png)
* run the generated script as root
* start the trex data generator (see https://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_getting_started_tutorials for details)
```
sudo ./t-rex-64 -i
```
in a different terminal:
```
./trex-console
start -f chdr_generator.py -m 1000mbps
```
![output](https://github.com/screenshots/rx.png)
# Todo
* C++ unit tests
* check seqnum of CHDR and track packet error rate
* general rx statistics
* add possibility to set DPDK EAL parameters, used lcored and dpdk device
* add support for jumbo frames
* add more packet formats and output types
* add TX (sink)
近期下载者:
相关文件:
收藏者: