net/softnic: add to meson build

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Bruce Richardson 2018-06-08 22:20:46 +01:00 committed by Ferruh Yigit
parent d9b9ca7e05
commit 6b2a3900e2
4 changed files with 11 additions and 2 deletions

View File

@ -21,7 +21,9 @@ drivers = ['af_packet',
'mvpp2',
'nfp',
'null', 'octeontx', 'pcap', 'ring',
'sfc', 'thunderx', 'virtio']
'sfc',
'softnic',
'thunderx', 'virtio']
std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std
std_deps += ['bus_vdev'] # same with vdev bus

View File

@ -14,7 +14,7 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_sched
LDLIBS += -lrte_bus_vdev
EXPORT_MAP := rte_pmd_eth_softnic_version.map
EXPORT_MAP := rte_pmd_softnic_version.map
LIBABIVER := 1

View File

@ -0,0 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
install_headers('rte_eth_softnic.h')
sources = files('rte_eth_softnic_tm.c',
'rte_eth_softnic.c')
deps += 'sched'