diff mbox series

[ovs-dev,dpdk-latest,v2,3/4] netdev-dpdk: Remove experimental API flag.

Message ID 20200428120836.15354-3-david.marchand@redhat.com
State Accepted
Headers show
Series [ovs-dev,dpdk-latest,v2,1/4] travis: Remove explicit DPDK kmods configuration. | expand

Commit Message

David Marchand April 28, 2020, 12:08 p.m. UTC
rfc4115 meter APIs are now part of 20.02 stable ABI so we can remove the
forced ALLOW_EXPERIMENTAL_API define.

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
Changelog since v1:
- split travis changes in a separate patch

---
 lib/netdev-dpdk.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Stokes, Ian May 5, 2020, 1:10 p.m. UTC | #1
On 4/28/2020 1:08 PM, David Marchand wrote:
> rfc4115 meter APIs are now part of 20.02 stable ABI so we can remove the
> forced ALLOW_EXPERIMENTAL_API define.
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> Changelog since v1:
> - split travis changes in a separate patch
> 

LGTM, just awaiting travis and will merge to dpdk-latest then.

Regards
Ian
> ---
>   lib/netdev-dpdk.c | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
> index 44ebf96da8..9d2b4104cf 100644
> --- a/lib/netdev-dpdk.c
> +++ b/lib/netdev-dpdk.c
> @@ -26,12 +26,6 @@
>   #include <sys/socket.h>
>   #include <linux/if.h>
>   
> -/* Include rte_compat.h first to allow experimental API's needed for the
> - * rte_meter.h rfc4115 functions. Once they are no longer marked as
> - * experimental the #define and rte_compat.h include can be removed.
> - */
> -#define ALLOW_EXPERIMENTAL_API
> -#include <rte_compat.h>
>   #include <rte_bus_pci.h>
>   #include <rte_config.h>
>   #include <rte_cycles.h>
>
diff mbox series

Patch

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 44ebf96da8..9d2b4104cf 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -26,12 +26,6 @@ 
 #include <sys/socket.h>
 #include <linux/if.h>
 
-/* Include rte_compat.h first to allow experimental API's needed for the
- * rte_meter.h rfc4115 functions. Once they are no longer marked as
- * experimental the #define and rte_compat.h include can be removed.
- */
-#define ALLOW_EXPERIMENTAL_API
-#include <rte_compat.h>
 #include <rte_bus_pci.h>
 #include <rte_config.h>
 #include <rte_cycles.h>