NetSys / bess

BESS: Berkeley Extensible Software Switch
Other
313 stars 156 forks source link

Using bess with mlnx-dpdk-20.0 ? #1045

Open torehl opened 1 year ago

torehl commented 1 year ago

Hi,

Got bluefield2's with the latest Ubuntu 20.04.  How can I use the preinstalled DPDK with bess?  Have not yet succeeded in modifying build.py to use the preinstalled mlnx-dpdk?   Tried to locate source/build directories, but probably need the src deb files.  Any clues?
ubuntu@n19-dpu:~/workspace/bess$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS"
DOCA_1.5.1_BSP_3.9.3_Ubuntu_20.04-4.2211-LTS.signed
NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

ubuntu@n19-dpu:~/workspace/bess$ sudo apt search mlnx-dpdk
Sorting... Done
Full Text Search... Done
mlnx-dpdk/unknown,now 20.11.0-7.1.2.581120.7.1.2 arm64 [installed,automatic]
  Data Plane Development Kit (runtime)

mlnx-dpdk-dev/unknown,now 20.11.0-7.1.2.581120.7.1.2 arm64 [installed,automatic]
  Data Plane Development Kit (basic development files)

--Tore