基于区块链的毕业设计ethernet-test – 以太网测试

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计ethernet-test – 以太网测试 是一篇很好的国外资料

ethernet-test

Experiments with DPDK as 100G Ethernet tester (Ubuntu 20.04)

Prerequisites

Kernel config and mellanox driver installation needs only be done once

Kernel config

Add the following to the kerne boot parameters: /etc/default/grub

iommu=pt intel_iommu=on default_hugepagesz=1G hugepagesz=1G hugepages=4 

then

> sudo update-grub 

Mellanox drivers

The Mellanox poll mode driver requires libmlx5 to be built and installed before building dpdk

> tar xvf mlnx-en-5.3-1.0.0.1-ubuntu20.04-x86_64.tar > cd mlnx-en-5.3-1.0.0.1-ubuntu20.04-x86_64/ > sudo ./install --upstream-libs --dpdk 

DPDK build and install

> make dpdkclone > make dpdkbuild 

Not sure this is necessary, perhaps first try without? > make dpdkinstall

Bind dpdk NICs

> dpdk-devbind.py --status > dpdk-devbind.py --status-dev net > sudo dpdk-devbind --bind=vfio-pci eth 

on mobunto: > sudo ../usertools/dpdk-devbind.py –bind=vfio-pci enp9s0

Ethernet tester

Build and run ethernet test app

You will be prompted for the sudo password

> make pmd > make runpmd 

以太网测试

将DPDK作为100G以太网测试仪(Ubuntu 20.04)进行实验,只需完成一次内核配置和mellanox驱动程序安装

前提条件

在kerne引导参数中添加以下内容:/etc/default/grub

内核配置

然后

iommu=pt intel_iommu=on default_hugepagesz=1G hugepagesz=1G hugepages=4 

mellanox poll mode驱动程序需要在构建DPDK之前构建和安装libmlx5

> sudo update-grub 

Mellanox驱动程序

不确定这是必要的,也许第一次尝试没有&燃气轮机;在mobento上进行dpdk安装:>sudo../usertools/dpdk-devbind.py–bind=vfio pci enp9s0

> tar xvf mlnx-en-5.3-1.0.0.1-ubuntu20.04-x86_64.tar > cd mlnx-en-5.3-1.0.0.1-ubuntu20.04-x86_64/ > sudo ./install --upstream-libs --dpdk 

dpdk构建和安装

> make dpdkclone > make dpdkbuild 

系统将提示您输入sudo密码

绑定dpdk NICs

> dpdk-devbind.py --status > dpdk-devbind.py --status-dev net > sudo dpdk-devbind --bind=vfio-pci eth 

on mobunto: > sudo ../usertools/dpdk-devbind.py –bind=vfio-pci enp9s0

以太网测试仪

构建和运行以太网测试应用程序你知道吗

You will be prompted for the sudo password

> make pmd > make runpmd 

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22200.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计ethernet-test – 以太网测试

提供最优质的资源集合

立即查看 了解详情