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=E2=80=A8# 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=E2=80=A8hw.contigmem.num_buffers=3D2=E2=80=A8hw.contigmem.buffer_siz= e=3D1073741824=E2=80=A8# load contigmem module during boot process=E2=80=A8contigmem_load=3D"YES" Once the system is rebooted we proceed to attach the pic address to nic_uio module. # kenv hw.nic_uio.bdfs=3D"129:0:4"=E2=80=A8# kldload nic_uio.ko=E2=80=A8# p= ciconf -l=E2=80=A8The result of pciconf -l at the t5nex0 pci is nic_uio@pci0:129:0:4: Tried to run:=E2=80=A8# /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=E2=80=9D but it fails to brin= g 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>