4e9c73e96e
The driver supports Hyper-V networking directly like virtio for KVM or vmxnet3 for VMware. This code is based off of the FreeBSD driver. The file and variable names are kept the same to help with understanding (with most of the BSD style warts removed). This version supports the latest NetVSP 6.1 version and older versions. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
24 lines
592 B
Makefile
24 lines
592 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
LIB = librte_pmd_netvsc.a
|
|
|
|
CFLAGS += -O3 $(WERROR_FLAGS)
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
EXPORT_MAP := rte_pmd_netvsc_version.map
|
|
|
|
LIBABIVER := 1
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NETVSC_PMD) += hn_ethdev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NETVSC_PMD) += hn_rxtx.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NETVSC_PMD) += hn_rndis.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NETVSC_PMD) += hn_nvs.c
|
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
|
LDLIBS += -lrte_bus_vmbus
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|