e10k: adding e10k flounder defs to targets
authorReto Achermann <reto.achermann@inf.ethz.ch>
Fri, 7 Apr 2017 07:44:34 +0000 (09:44 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Fri, 7 Apr 2017 07:44:34 +0000 (09:44 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

usr/drivers/e10k/Hakefile

index e955ec6..e9404cf 100644 (file)
@@ -14,6 +14,7 @@
                       cFiles = [ "e10k_qdriver.c", "helper.c"],
                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k"  ],
                       mackerelDevices = [ "e10k", "e10k_q" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       addLibraries = libDeps [ "netQmng", "trace", "skb",
                                                "pci" ]
                     },
@@ -24,7 +25,7 @@
                       flounderBindings = [ "net_queue_manager",
                                            "net_soft_filters",
                                            "e10k", "e10k_vf" ],
-                      flounderDefs = [ "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       mackerelDevices = [ "e10k", "e10k_q" ],
                       addLibraries = libDeps [ "netQmng", "pci", "contmng",
                                                "net_device_manager", "bench",
@@ -36,7 +37,7 @@
                                  "e10k_qdriver.c", "helper.c"],
                       mackerelDevices = [ "e10k", "e10k_q" ],
                       flounderBindings = [ "net_queue_manager", "e10k", "e10k_vf" ],
-                      flounderDefs = [ "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k" ],
                       addLibraries = libDeps [ "pci", "bench", "trace", "skb" ],
                       addCFlags = [ "-DLIBRARY" ]
                     },
@@ -47,7 +48,7 @@
                       mackerelDevices = [ "e10k", "e10k_q", "e10k_vf" ],
                       flounderBindings = [ "e10k_vf", "net_queue_manager" ],
                       flounderExtraBindings = [ ("e10k_vf", ["rpcclient"]) ],
-                      flounderDefs = [ "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       flounderExtraDefs = [ ("e10k_vf",["rpcclient"]) ],
                       addLibraries = libDeps [ "pci", "bench", "trace", "skb" ],
                       addCFlags = [ "-DLIBRARY", "-DVF" ]
@@ -60,7 +61,7 @@
                                            "net_soft_filters",
                                            "e10k", "e10k_vf" ],
                       flounderExtraBindings = [ ("e10k_vf", ["rpcclient"]) ],
-                      flounderDefs = [ "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       flounderExtraDefs = [ ("e10k_vf",["rpcclient"]) ],
                       mackerelDevices = [ "e10k", "e10k_q", "e10k_vf" ],
                       addLibraries = libDeps [ "netQmng", "pci", "contmng",
@@ -73,7 +74,7 @@
                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
                                  "helper.c"],
                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k", "e10k_vf" ],
-                      flounderDefs = [ "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       --flounderBindings = [ "e10k"],
                       mackerelDevices = [ "e10k" ],
                       addLibraries = [ "pci", "contmng", "net_device_manager",
@@ -83,6 +84,7 @@
   build application { target = "e10k_queue_elb",
                       cFiles = [ "e10k_qdriver.c", "helper.c" ],
                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k", "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       --flounderBindings = [ "e10k" ],
                       mackerelDevices = [ "e10k", "e10k_q" ],
                       addLibraries = libDeps ["ethernet_latency_benchmark", "bench",
@@ -92,6 +94,7 @@
                       cFiles = [ "e10k_cdriver.c", "e10k_phy.c", "sleep.c",
                                  "e10k_qdriver.c", "helper.c"],
                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k", "e10k_vf" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       --flounderBindings = [ "net_queue_manager", "e10k" ],
                       mackerelDevices = [ "e10k", "e10k_q" ],
                       addLibraries = libDeps [ "ethernet_latency_benchmark",
   build application { target = "e10k_queue_tlb",
                       cFiles = [ "e10k_qdriver.c", "helper.c"],
                       flounderBindings = [ "net_queue_manager", "net_soft_filters", "e10k" ],
+                      flounderDefs = [ "e10k_vf", "e10k"],
                       --flounderBindings = [ "e10k" ],
                       mackerelDevices = [ "e10k", "e10k_q" ],
                       addLibraries = [ "tcp_latency_benchmark", "trace", "bench",