How to share a ConnectX-3 interface between DPDK PMD and the kernel driver

Hi there,

Right now, it appears that when a DPDK application is running, the kernel driver (mlx4_en?) stops receiving packets. According to the presentation here https://dpdksummit.com/Archive/pdf/2016Userspace/Day02-Session04-RonyEfraim-Userspace2016.pdf , there is a way to steer some traffic to DPDK and leave the rest to the kernel driver. Does anybody where to find more information on how to configure this? Thanks!

Hi Li,

On the following documentations from DPDK.org you will find an option to set specific cores which test pmd will run on it leaving rest of the cores for other tasks:

  1. Running the Application — Data Plane Development Kit 18.02.0-rc0 documentation http://dpdk.org/doc/guides/testpmd_app_ug/run_app.html

  2. Enabling Additional Functionality — Data Plane Development Kit 18.02.0-rc0 documentation http://dpdk.org/doc/guides/linux_gsg/enable_func.html#using-linux-core-isolation-to-reduce-context-switches

Thanks,

Karen.