如何在Ubuntu 20.04版本中启用Mellanox驱动程序(网络接口卡)进行矢量数据包处理(VPP)?

发布于 2025-02-12 04:27:35 字数 689 浏览 2 评论 0 原文

https://github.com/fd.io/vpp

我们无法添加Mellanox 因此如何启用VPP

  1. #APT UPDATE

2。

2的驱动程序

VPP中的驱动程序,

4.#git克隆-b 20.09 https://github.com/fdio/vpp

5.##5. ######### cd〜/vpp

6.#进行安装-Dep

7.#制作dpdk-install-dev dpdk_mlx5_pmd = y dpdk_mlx_mlx5_pmd_dlopen_deps = y

接下来,将Mellanox库复制到/usr/lib Directory

8. /lib/librte_pmd_mlx5_glue.so*/usr/lib/,

,制作将稍后安装的deb套件

然后 。

那么如何使Mellanox驱动程序成为VPP?

https://github.com/FD.io/vpp

we are unable to add the mellanox drivers in vpp so how to enable the drivers for vpp

  1. #apt update

2.#apt upgrade

then, install the following packages

3.#apt install make git cpp gcc libssl-dev libmnl-dev libnuma-dev net-tools rdma-core nasm

4.#git clone -b 20.09 https://github.com/FDio/vpp

5.#cd ~/vpp

6.#make install-dep

7.#make dpdk-install-dev DPDK_MLX5_PMD=y DPDK_MLX5_PMD_DLOPEN_DEPS=y

Next copy the Mellanox library to the /usr/lib directory

8.#cp /opt/vpp/external/x86_64/lib/librte_pmd_mlx5_glue.so* /usr/lib/

Then,make the deb packages that will later be installed

9.#make pkg-deb vpp_uses_dpdk_mlx5_pmd=y DPDK_MLX5_PMD_DLOPEN_DEPS=y

this steps i follwed but im still unable to see the inerfaces in vpp.

so how to enable mellanox drivers for vpp?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

摇划花蜜的午后 2025-02-19 04:27:35

默认情况下,在VPP中的DPDK MakeFile中未启用MLX4/MLX5 DPDK PMD。
为了启用MLX

  1. PMD
  2. 执行”

By default, MLX4/MLX5 DPDK PMD is not enabled in dpdk makefile in VPP.
In order to enable MLX PMDs, follow the steps below:

  1. Edit the dpdk.mk (external/packages/dpdk.mk) for enabling MLX4/MLX5 PMD
    enter image description here
  2. Execute "make install-ext-deps; make build-release"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文