On 14 Jan 2020, at 12:57, Neil Horman wrote:
On Tue, Jan 14, 2020 at 09:35:33AM +0100, David Marchand wrote:
If I'm reading this properly, I think the request here is to have
On Mon, Jan 13, 2020 at 4:57 PM Eelco Chaudron <echau...@redhat.com>
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 128963f..3f164c8 100644
@@ -26,7 +26,10 @@
+/* The below is needed as rte_meter.h gets included trough
__rte_experimental is getting defined at the first inclusion of
rte_compat.h, so here rte_bus_pci.h is the first one.
__rte_experimental ends up being a big "all or nothing" switch, so we
don't need to #undef.
Cc: Neil if he has a better idea/comments.
control over the use of experimental API's?
If so, What fine grained control are you looking for? Do you just want
get the warning about a symbol being experimental only for the API
rte_bus_pci.h, but not others? If thats the case, I would make the
that the right (or perhaps just the more prduent) thing to do would be
that you're getting warnings during the build, and that they are
those particular API calls.
That was the idea, however just ignore the warnings will not work as OVS
gets compiled with -Wall.
For now I will sent a patch as suggested by David…
If you want to record that fact, I would do so at
the call site, using whatever syntax covscan or other linters use to
fact that you expect the warning there. Thats actual documentation,
you the odd ifdeffery above, and below
@@ -35,7 +38,9 @@
dev mailing list