DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Create new driver error
@ 2019-01-30 10:42 Oscar Pap
  2019-01-31 17:00 ` Wiles, Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Oscar Pap @ 2019-01-30 10:42 UTC (permalink / raw)
  To: users

Hello!

I´m trying to create a new driver called "baseband_ldpc" for baseband but I
get this error:

EAL: failed to parse device "baseband_ldpc"
EAL: Unable to parse device 'baseband_ldpc'


I created the driver in the /dpdk/drivers/baseband/ldpc folder.
The file is called ldpc.c
I created a copy of the Makefile from the other drivers but changed these
lines:

LIB =librte_pmd_bbdev_ldpc.a
...
EXPORT_MAP :=rte_pmd_bbdev_ldpc_version.map
...
SRCS-$(CONFIG_RTELIBRTE_PMD_BBDEV_LDPC) += ldpc.c


I added this line in the Makefile in the folder /dpdk/drivers/baseband
DIRS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_LDPC) += ldpc
DEPDIRS-ldpc = $(core-libs)

I also added these lines in the common_base file:
CONFIG_RTE_LIBRTE_PMD_BBDEV_LDPC=y

My guess is that the error has something to do with vdev and that my
baseband_ldpc doesnt get registered as a valid vdev.

My command for running the app is:
./build/bbdev --vdev='baseband_ldpc' --vdev='net_tap0' --no-pci

I hope that you can help with this problem.

Best regards,
Oscar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-31 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 10:42 [dpdk-users] Create new driver error Oscar Pap
2019-01-31 17:00 ` Wiles, Keith

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).