* [dpdk-dev] FreeBSD and NICs
@ 2014-03-25 18:25 Fred Pedrisa
0 siblings, 0 replies; only message in thread
From: Fred Pedrisa @ 2014-03-25 18:25 UTC (permalink / raw)
To: dev
Hi,
I have these settings in /boot/loader.conf
hw.contigmem.num_buffers=2
hw.contigmem.buffer_size=1073741824
hw.nic_uio.bdfs="3:0:0,3:0:1,4:0:0,4:0:1"
contigmem_load="YES"
nic_uio_load="YES"
However, the DPDK is taking all the available NIC Ports (8) from my system,
when I wanted it to use just 4 of them.
nic_uio0: <Intel(R) DPDK PCI Device> port 0xd020-0xd03f mem
0xf7e20000-0xf7e3ffff,0xf7c00000-0xf7dfffff,0xf7e44000-0xf7e47fff irq 18 at
device 0.0 on pci3
nic_uio1: <Intel(R) DPDK PCI Device> port 0xd000-0xd01f mem
0xf7e00000-0xf7e1ffff,0xf7a00000-0xf7bfffff,0xf7e40000-0xf7e43fff irq 19 at
device 0.1 on pci3
nic_uio2: <Intel(R) DPDK PCI Device> port 0xc020-0xc03f mem
0xf7820000-0xf783ffff,0xf7600000-0xf77fffff,0xf7844000-0xf7847fff irq 16 at
device 0.0 on pci4
nic_uio3: <Intel(R) DPDK PCI Device> port 0xc000-0xc01f mem
0xf7800000-0xf781ffff,0xf7400000-0xf75fffff,0xf7840000-0xf7843fff irq 17 at
device 0.1 on pci4
nic_uio4: <Intel(R) DPDK PCI Device> port 0xb020-0xb03f mem
0xf7220000-0xf723ffff,0xf7000000-0xf71fffff,0xf7244000-0xf7247fff irq 18 at
device 0.0 on pci7
nic_uio5: <Intel(R) DPDK PCI Device> port 0xb000-0xb01f mem
0xf7200000-0xf721ffff,0xf6e00000-0xf6ffffff,0xf7240000-0xf7243fff irq 19 at
device 0.1 on pci7
nic_uio6: <Intel(R) DPDK PCI Device> port 0xa020-0xa03f mem
0xf6c20000-0xf6c3ffff,0xf6a00000-0xf6bfffff,0xf6c44000-0xf6c47fff irq 16 at
device 0.0 on pci8
nic_uio7: <Intel(R) DPDK PCI Device> port 0xa000-0xa01f mem
0xf6c00000-0xf6c1ffff,0xf6800000-0xf69fffff,0xf6c40000-0xf6c43fff irq 17 at
device 0.1 on pci8
dev.nic_uio.0.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.0.%driver: nic_uio
dev.nic_uio.0.%location: slot=0 function=0
dev.nic_uio.0.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.0.%parent: pci3
dev.nic_uio.1.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.1.%driver: nic_uio
dev.nic_uio.1.%location: slot=0 function=1
dev.nic_uio.1.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.1.%parent: pci3
dev.nic_uio.2.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.2.%driver: nic_uio
dev.nic_uio.2.%location: slot=0 function=0
dev.nic_uio.2.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.2.%parent: pci4
dev.nic_uio.3.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.3.%driver: nic_uio
dev.nic_uio.3.%location: slot=0 function=1
dev.nic_uio.3.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.3.%parent: pci4
dev.nic_uio.4.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.4.%driver: nic_uio
dev.nic_uio.4.%location: slot=0 function=0
dev.nic_uio.4.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.4.%parent: pci7
dev.nic_uio.5.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.5.%driver: nic_uio
dev.nic_uio.5.%location: slot=0 function=1
dev.nic_uio.5.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.5.%parent: pci7
dev.nic_uio.6.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.6.%driver: nic_uio
dev.nic_uio.6.%location: slot=0 function=0
dev.nic_uio.6.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.6.%parent: pci8
dev.nic_uio.7.%desc: Intel(R) DPDK PCI Device
dev.nic_uio.7.%driver: nic_uio
dev.nic_uio.7.%location: slot=0 function=1
dev.nic_uio.7.%pnpinfo: vendor=0x8086 device=0x10d6 subvendor=0x8086
subdevice=0x145a class=0x020000
dev.nic_uio.7.%parent: pci8
What am I doing wrong in this case ?
I noticed that if we use : sysctl -a the variable : hw.nic_uio.bdfs is not
present there, is this some red flag ?
Sincerely,
Fred
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-25 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25 18:25 [dpdk-dev] FreeBSD and NICs Fred Pedrisa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).