# Cannot Run RXPbench on Host

**URL:** <https://forums.developer.nvidia.com/t/cannot-run-rxpbench-on-host/235322>\
**Category:** BlueField\
**Created:** [November 24, 2022, 3:30pm UTC](https://forums.developer.nvidia.com/t/cannot-run-rxpbench-on-host/235322 "2022-11-24T15:30:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsf123](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wsf123](https://forums.developer.nvidia.com/u/wsf123)\
**Post date:** [November 24, 2022, 3:30pm UTC](https://forums.developer.nvidia.com/t/cannot-run-rxpbench-on-host/235322/1 "2022-11-24T15:30:11Z")

</div>

I am trying to run RXPbench on a linux machine and compare the result with running RXPbench on a Bluefield-2 DPU with REgex acceleration. Due to some reasons, the linux machine does not have a Bluefield DPU and is only equipped with a mellanox NIC(shown below).  
`a1:00.0 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]`

After installing the latest doca-tools and latest mlx5 driver on the linux machine, I tried RXPbench but the output shows failure:

```auto
user@linux:~$ sudo rxpbench -D "-l5,6 -n 1 -a a1:00.0" --input-mode text_file -f ./data.txt -d hs -R ./rules.hs -c 1 -s 10 -l 2048 > log 
EAL: Detected 64 lcore(s)
EAL: Detected 8 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Probe PCI driver: mlx5_pci (15b3:101b) device: 0000:a1:00.0 (socket 6)
set_mempolicy: Invalid argument
mlx5_common: Failed to initialize global MR share cache.
EAL: Requested device 0000:a1:00.0 cannot be used
EAL: Bus (pci) probe failed.
EAL: Device is not probed
// The rest parts are output from RXPbench

```

I am confused about two points:

1. Why does EAL initialization fail?
2. Does RXPbench only work with Bluefield-2? I assume that it can work on a host without a Bluefield-2 as long as you do not use REgex acceleration and use Hyperscan on the host.

---

<div class="post-metadata">

**Author:** ![wsf123](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@wsf123](https://forums.developer.nvidia.com/u/wsf123)\
**Post date:** [November 26, 2022, 5:50pm UTC](https://forums.developer.nvidia.com/t/cannot-run-rxpbench-on-host/235322/2 "2022-11-26T17:50:18Z")

</div>

I have confirmed that it is due to DPDK initilization problem of my host machine.

---

<div class="post-metadata">

**Author:** ![932622545](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@932622545](https://forums.developer.nvidia.com/u/932622545)\
**Post date:** [February 28, 2024, 11:05am UTC](https://forums.developer.nvidia.com/t/cannot-run-rxpbench-on-host/235322/3 "2024-02-28T11:05:51Z")

</div>

Excuse me, what is the solution to this situation
