Hi Everyone,
I am trying to install dpdk on freebsd and got stuck at one point. DPDK is in
/usr/ports/net/dpdk. It has been compiled there. I also compiled via
downloading dpdk from git.
Now I get these following errors
# kenv hw.contigmem.buffer_size=10737418
hw.contigmem.buffer_size="10737418"
# sysctl -a hw.contigmem
sysctl: unknown oid 'hw.contigmem'
# kldload ./kmod/contigmem.ko
kldload: can't load ./kmod/contigmem.ko: No such file or directory
# setenv contigmem_load "YES"
# kldload ./kmod/contigmem.ko
kldload: can't load ./kmod/contigmem.ko: No such file or directory
# kldload ./kmod/nic_uio.ko
kldload: can't load ./kmod/nic_uio.ko: No such file or directory
Can someone please help me? It is really urgent :(
Puneet
On Saturday, 9 March, 2019, 3:00:05 am GMT-8, <[email protected]>
wrote:
Send users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://mails.dpdk.org/listinfo/users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Cannot enable VFs for QAT PF (Changchun Zhang)
2. Re: QAT cryto PMD queue pair and Ring Libary (Changchun Zhang)
----------------------------------------------------------------------
Message: 1
Date: Fri, 8 Mar 2019 13:13:08 -0800 (PST)
From: Changchun Zhang <[email protected]>
To: [email protected]
Subject: [dpdk-users] Cannot enable VFs for QAT PF
Message-ID: <6ec28615-daea-473e-9f4f-cee9b6237207@default>
Content-Type: text/plain; charset=us-ascii
Hi,
I cannot enable VFs for the QAT device, my steps are as follows:
1. Enable VT-d in BIOS
2. Add the "intel_iommu=on iommu=pt" in the kernel command line
3. QAT device driver has been inserted:
~ # lsmod | grep qa
qat_c62x 16384 0
intel_qat 114688 1 qat_c62x
4. Find the BDF of the PF:
~ # lspci -d:37c8
b5:00.0 Class 0b40: Device 8086:37c8 (rev 04)
b7:00.0 Class 0b40: Device 8086:37c8 (rev 04)
5. Trying to enable VFs, but I did not find sriov_numvfs in directories:
/sys/bus/pci/drivers/c6xx
/sys/bus/pci/drivers/c6xx # ls -ltr
--w------- 1 4096 Jan 22 21:41 uevent
--w------- 1 4096 Jan 22 21:43 unbind
--w------- 1 4096 Jan 22 21:43 remove_id
--w------- 1 4096 Jan 22 21:43 new_id
lrwxrwxrwx 1 0 Jan 22 21:43 module -> ../../../../module/qat_c62x
--w------- 1 4096 Jan 22 21:43 bind
But I can find sriov_numvfs in other directories:
/sys # find ./ -name sriov_numvfs
./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:00.0/0000:b5:00.0/sriov_numvfs
./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:02.0/0000:b7:00.0/sriov_numvfs
Unfortunately, when trying to enable the VFs with above sriov_numvfs file,
cannot write to this file, like:
/sys # echo 16 >
./devices/pci0000:b2/0000:b2:00.0/0000:b3:00.0/0000:b4:02.0/0000:b7:00.0/sriov_numvfs
sh: write error: No such file or directory
Can any guys know some clue about it?
Thanks,
------------------------------
Message: 2
Date: Fri, 8 Mar 2019 13:14:56 -0800 (PST)
From: Changchun Zhang <[email protected]>
To: "Trahe, Fiona" <[email protected]>, [email protected]
Subject: Re: [dpdk-users] QAT cryto PMD queue pair and Ring Libary
Message-ID: <2e0a0ee6-e626-415f-82ec-2eeffc0f7048@default>
Content-Type: text/plain; charset=us-ascii
Thanks.
The related question, for Ethernet device, if it has been bound to igb_uio
driver, who is going to actually implement the rx_ring and tx_ring for the
Ethernet PMD? The igb_uio driver?
Changchun (Alex)
-----Original Message-----
From: Trahe, Fiona [mailto:[email protected]]
Sent: Friday, March 08, 2019 5:56 AM
To: Changchun Zhang <[email protected]>; [email protected]
Cc: Trahe, Fiona <[email protected]>
Subject: RE: [dpdk-users] QAT cryto PMD queue pair and Ring Libary
> -----Original Message-----
> From: users [mailto:[email protected]] On Behalf Of Changchun
> Zhang
> Sent: Thursday, March 7, 2019 9:29 PM
> To: [email protected]
> Subject: [dpdk-users] QAT cryto PMD queue pair and Ring Libary
>
> Hi,
>
>
>
> QAT PMD driver uses the queue pair to communication with QAT device.
> My question is, whether or this QAP queue pair is implemented over DPDK ring
> library or just self-defined queue implementation?
[Fiona] This doesn't use the DPDK ring library. They are QAT-specific,
hw-supported tx and rx rings.
End of users Digest, Vol 176, Issue 6
*************************************