Skip to content

Commit

Permalink
nfp: pf support through nsp userspace api
Browse files Browse the repository at this point in the history
PF support is required for vRouter-DPDK using CoreNIC firmware on Netronome
Agilio NICs.

Change-Id: I9f1e00f6a7cb576a0bd39bb8303c90379e7641d1
Partial-Bug: #1774414
Signed-off-by: Frik Botha <frederick.botha@netronome.com>
  • Loading branch information
fjbotha committed May 31, 2018
1 parent be345d9 commit 11de105
Show file tree
Hide file tree
Showing 31 changed files with 10,273 additions and 185 deletions.
24 changes: 19 additions & 5 deletions drivers/net/nfp/Makefile
Expand Up @@ -40,19 +40,33 @@ CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)

LDLIBS += -lm
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci

EXPORT_MAP := rte_pmd_nfp_version.map

LIBABIVER := 1

VPATH += $(SRCDIR)/nfpcore

SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_cppcore.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_cpplib.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_cpp_pcieuser.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_mutex.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_resource.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_crc.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_mip.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nffw.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_hwinfo.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_rtsym.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp_cmds.c
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp_eth.c

#
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_net.c

# this lib depends upon:
DEPDIRS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += lib/librte_eal lib/librte_ether
DEPDIRS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += lib/librte_mempool lib/librte_mbuf
DEPDIRS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += lib/librte_net

include $(RTE_SDK)/mk/rte.lib.mk

0 comments on commit 11de105

Please sign in to comment.