From fa34813ceec0ce5a8d0ae9e7c6dc80d474c064c1 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Mon, 18 Mar 2019 15:12:21 -0700 Subject: docs: Fix typo for dpdk-num-mbufs and add config file location --- host/docs/dpdk.dox | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'host') diff --git a/host/docs/dpdk.dox b/host/docs/dpdk.dox index 5fd2797ed..db4072b78 100644 --- a/host/docs/dpdk.dox +++ b/host/docs/dpdk.dox @@ -75,6 +75,10 @@ use. \subsection dpdk_nic_config NIC Configuration +Configuration of the NIC can be controlled via device arguments via the usual +methods, but the \ref page_configfiles "UHD configuration file" is the +recommended location. + In order to run, you'll need to set the permissions for your user to take over the vfio-pci devices, the hugepages, and the scheduler's settings for the threads (at a minimum). You may consider running you applications as root, at @@ -98,12 +102,12 @@ options: dpdk-driver=/usr/local/lib/dpdk-pmds/ ;dpdk-corelist is the -l flag for the DPDK EAL. See more at the link ; https://doc.dpdk.org/guides-17.11/linux_gsg/build_sample_apps.html#running-a-sample-application - dpdk-corelist=2,3 - ;dpdk-num-bufs is the total number of packet buffers allocated + dpdk-corelist=0,1 + ;dpdk-num-mbufs is the total number of packet buffers allocated ;to each direction's packet buffer pool ;This will be multiplied by the number of NICs, but NICs on the same ;CPU socket share a pool - dpdk-num-bufs=4095 + dpdk-num-mbufs=4095 ;dpdk-mbuf-cache-size is the number of buffers to cache for a CPU ;The cache reduces the interaction with the global pool dpdk-mbuf-cache-size=315 -- cgit v1.2.3