net/softnic: add to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 21:20:46 +0000 (22:20 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/meson.build
drivers/net/softnic/Makefile
drivers/net/softnic/meson.build [new file with mode: 0644]
drivers/net/softnic/rte_pmd_eth_softnic_version.map [deleted file]
drivers/net/softnic/rte_pmd_softnic_version.map [new file with mode: 0644]

index b1c1bba..55da785 100644 (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
index d56fecd..97ac884 100644 (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
 
diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build
new file mode 100644 (file)
index 0000000..41059da
--- /dev/null
@@ -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'
diff --git a/drivers/net/softnic/rte_pmd_eth_softnic_version.map b/drivers/net/softnic/rte_pmd_eth_softnic_version.map
deleted file mode 100644 (file)
index fb2cb68..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-DPDK_17.11 {
-       global:
-
-       rte_pmd_softnic_run;
-
-       local: *;
-};
diff --git a/drivers/net/softnic/rte_pmd_softnic_version.map b/drivers/net/softnic/rte_pmd_softnic_version.map
new file mode 100644 (file)
index 0000000..fb2cb68
--- /dev/null
@@ -0,0 +1,7 @@
+DPDK_17.11 {
+       global:
+
+       rte_pmd_softnic_run;
+
+       local: *;
+};