type
status
date
slug
summary
tags
category
created days
new update day
icon
password
Created_time
Oct 17, 2024 06:11 AM
Last edited time
Mar 1, 2025 01:50 AM

step.0 系统环境准备

  • 开启 CentOS 9 CRB repo
  • 更新系统

安装编译依赖

step.1 获取 DPDK 源码并编译

以 22.11.6 为例,通过下面的链接可以下载 DPDK 对应版本的源码。

1. 解压 DPDK 源码

The DPDK is composed of several directories, including:
  • doc: DPDK Documentation
  • license: DPDK license information
  • lib: Source code of DPDK libraries
  • drivers: Source code of DPDK poll-mode drivers
  • app: Source code of DPDK applications (automatic tests)
  • examples: Source code of DPDK application examples
  • config, buildtools: Framework-related scripts and configuration
  • usertools: Utility scripts for end-users of DPDK applications
  • devtools: Scripts for use by DPDK developers
  • kernel: Kernel modules needed for some operating systems

2 编译并安装 DPDK

配置 DPDK 编译参数

开始编译

step2.获取 dpdk-kmods 并编译

如果需要使用到 igb_uio.ko 那么需要单独克隆对应的代码,进行手动编译,因为在 22.11 之后,对应的代码独立出来了。

获取 dpdk-kmods 源码

开始编译

加载驱动

查看驱动加载情况

参考文献

Relate Posts
EtherCAT 主站 IgH 学习之 —— xenomai_posix 例程代码学习
Lazy loaded image
如何在Debian 11上手动编译安装AMD XGBE 10GB网卡驱动
Lazy loaded image
SET_NETDEV_DEV 宏详解
Lazy loaded image
内核源码中为什么会存在同一个函数的多重定义?什么是符号的强弱性?
Lazy loaded image
【转载】EtherCAT主站IgH解析(一)--主站初始化、状态机与EtherCAT报文 - 沐多 - 博客园
Lazy loaded image
Building Debian packages :: Xenomai 3
Lazy loaded image
在 CentOS 9 上编译 DPDK 与 pktgen 24.07在 CentOS 9 上启用 CRB 源
Loading...
tangcuyu
tangcuyu
一只尘世中努力争渡的🐠
Latest posts
EtherCAT 主站 IgH 学习之 —— xenomai_posix 例程代码
2025-3-7
EtherCAT 主站 IgH 学习之 —— xenomai_posix 例程代码学习
2025-3-6
【转载】EtherCAT主站IgH解析(一)--主站初始化、状态机与EtherCAT报文 - 沐多 - 博客园
2025-3-6
如何在Debian 11上手动编译安装AMD XGBE 10GB网卡驱动
2025-3-4
内核源码中为什么会存在同一个函数的多重定义?什么是符号的强弱性?
2025-3-1
SET_NETDEV_DEV 宏详解
2025-3-1