From: Fred Pedrisa <fredhps10@hotmail.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] FreeBSD and NICs
Date: Tue, 25 Mar 2014 15:25:57 -0300 [thread overview]
Message-ID: <COL131-DS19CF32A389B9576E8D16A4B0650@phx.gbl> (raw)
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
reply other threads:[~2014-03-25 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=COL131-DS19CF32A389B9576E8D16A4B0650@phx.gbl \
--to=fredhps10@hotmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).