“HowToInstallDPDK”的版本间差异
		
		
		
		
		
		跳到导航
		跳到搜索
		
				
		
		
	
 (创建页面,内容为“* 通过ssh或者console进入系统shell * 首先, 请确定您使用的是飞腾NetONE系统, 检查的方法是<source lang="bash" line> uname -a | grep ex01a #...”)  | 
				小  | 
				||
| 第1行: | 第1行: | ||
| − | + | # 通过ssh或者console进入系统shell  | |
| − | + | # 首先, 请确定您使用的是飞腾NetONE系统, 检查的方法是<source lang="bash" line>  | |
uname -a | grep ex01a  | uname -a | grep ex01a  | ||
# 如果有如下的输出, 即表示是NetONE系统  | # 如果有如下的输出, 即表示是NetONE系统  | ||
# Linux netone 4.4-bex01a #1 SMP Mon Aug 15 00:55:38 UTC 2016 aarch64 GNU/Linux  | # Linux netone 4.4-bex01a #1 SMP Mon Aug 15 00:55:38 UTC 2016 aarch64 GNU/Linux  | ||
</source>  | </source>  | ||
| − | + | # 然后, 请参照[[HowToUpgradeWithIPK|这里完成当前系统的升级]], 确保当前系统包含所需软件包;  | |
| − | + | # 接下来安装dpdk, 请执行: <source lang="bash" line>  | |
ipkg-cl -f /root/ipkg.conf install dpdk  # 仅仅安装内核模块, 是dpdk的最小安装  | ipkg-cl -f /root/ipkg.conf install dpdk  # 仅仅安装内核模块, 是dpdk的最小安装  | ||
ipkg-cl -f /root/ipkg.conf install dpdk-tools  # 安装dpdk-devbind, testpmd等dpdk基本配置和测试工具  | ipkg-cl -f /root/ipkg.conf install dpdk-tools  # 安装dpdk-devbind, testpmd等dpdk基本配置和测试工具  | ||
ipkg-cl -f /root/ipkg.conf install dpdk-tests  # 在/usr/local/bin/下安装dpdk examples下的部分测试程序  | ipkg-cl -f /root/ipkg.conf install dpdk-tests  # 在/usr/local/bin/下安装dpdk examples下的部分测试程序  | ||
</source>  | </source>  | ||
| − | + | # 重启  | |
| − | + | # /usr/share/dpdk下, 可以查看setup.sh等dpdk官方工具  | |
2016年8月18日 (四) 16:08的版本
- 通过ssh或者console进入系统shell
 - 首先, 请确定您使用的是飞腾NetONE系统, 检查的方法是
1uname -a | grep ex01a 2# 如果有如下的输出, 即表示是NetONE系统 3# Linux netone 4.4-bex01a #1 SMP Mon Aug 15 00:55:38 UTC 2016 aarch64 GNU/Linux
 - 然后, 请参照这里完成当前系统的升级, 确保当前系统包含所需软件包;
 - 接下来安装dpdk, 请执行: 
1ipkg-cl -f /root/ipkg.conf install dpdk # 仅仅安装内核模块, 是dpdk的最小安装 2ipkg-cl -f /root/ipkg.conf install dpdk-tools # 安装dpdk-devbind, testpmd等dpdk基本配置和测试工具 3ipkg-cl -f /root/ipkg.conf install dpdk-tests # 在/usr/local/bin/下安装dpdk examples下的部分测试程序
 - 重启
 - /usr/share/dpdk下, 可以查看setup.sh等dpdk官方工具