Date: Wed, 7 Jun 2017 23:38:21 -0400 From: Jordan Caraballo <jordancaraballo87@gmail.com> To: freebsd-net@freebsd.org Subject: chelsio T-580_CR DPDK link down Message-ID: <CABoP_SQOd_D%2BB4pOCO2jB5WuiiRCPb%2BENkvVaRhw5tu-nxU07Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi guys, I am currently trying to implement DPDK in a Dell PE R530 equipped with a Chelsio T-580-CR port in an 8x slot. So far, links to ports do not want to come up. Below are the commands of my exact approach. ############################### Installed dpdk from /usr/ports/net/dpdk in a FreeBSD 11-STABLE system. Unloaded every module related to dpdk and cxgbe. Then: # kldload if_cxgbe # dmesg | grep "t5nex" # pciconf -l | grep "t5nex" Note: The result given from this command is primarily t5nex0@pci0:129:0:4: # kldunload if_cxgbe Added to /boot/loader.conf below configurations and rebooted the system: # reserve 2 x 1G blocks of contiguous memory using contigmem driver hw.contigmem.num_buffers=2 hw.contigmem.buffer_size=1073741824 # load contigmem module during boot process contigmem_load="YES" Once the system is rebooted we proceed to attach the pic address to nic_uio module. # kenv hw.nic_uio.bdfs="129:0:4" # kldload nic_uio.ko # pciconf -l The result of pciconf -l at the t5nex0 pci is nic_uio@pci0:129:0:4: Tried to run: # /usr/local/share/dpdk/x86_64-native-bsdapp-clang/app/testpmd -l 0-3 -n 4 -w 0000:129:00.4 -- -i But it prompts to the usage options. Then ran: # /usr/local/share/dpdk/x86_64-native-bsdapp-clang/app/testpmd -l 0-3 -n 4 -- -i And script runs but links are down. At interactive mode I use "set link-up port 0” but it fails to bring any of the ports up. ################################### - Any advice or idea? - Am I missing something? - Is there any other better approach rather than dpdk to increase packets per second forwarding in a router? In case of needing additional log information do not hesitate to ask. Thanks in advance, Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABoP_SQOd_D%2BB4pOCO2jB5WuiiRCPb%2BENkvVaRhw5tu-nxU07Q>
