CC: Jasvinder Singh <jasvinder.singh@intel.com>
CC: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/net/meson.build | 3 ++-
drivers/net/softnic/Makefile | 2 +-
drivers/net/softnic/meson.build | 7 +++++++
...eth_softnic_version.map => rte_pmd_softnic_version.map} | 0
4 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/softnic/meson.build
rename drivers/net/softnic/{rte_pmd_eth_softnic_version.map => rte_pmd_softnic_version.map} (100%)
@@ -8,7 +8,8 @@ drivers = ['af_packet', 'ark', 'avp',
'fm10k', 'i40e', 'ifcvf', 'ixgbe',
'kni', 'liquidio', '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
@@ -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
new file mode 100644
@@ -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'
similarity index 100%
rename from drivers/net/softnic/rte_pmd_eth_softnic_version.map
rename to drivers/net/softnic/rte_pmd_softnic_version.map