From 4cc4dabe80eb7d19c20920b7ec20899d6a76a1dd Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Tue, 28 May 2019 15:31:43 +0200 Subject: Added support for DPDK 19.02 and 19.05 This includes supporting following API changes - RTE_VER_... now in rte_config.h instead of rte_version.h - now seems required by - rte_sched_port_pkt_write takes extra argument - rte_sched_port_pkt_read_tree_path takes extra argument - enum rte_meter_color replaced by rte_color The extra argument, sched_port, is initialized based on qos_conf parameters. Modes such as qinq_encap4 uses sched_port when doing classification, but does not set qos_conf params. It inherits the sched_port from QoS Change-Id: If8312918241e7d482161a7538f53faac6c303e86 Signed-off-by: Xavier Simonart --- VNFs/DPPD-PROX/handle_qinq_encap4.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'VNFs/DPPD-PROX/handle_qinq_encap4.h') diff --git a/VNFs/DPPD-PROX/handle_qinq_encap4.h b/VNFs/DPPD-PROX/handle_qinq_encap4.h index 639135e0..b18b0ca6 100644 --- a/VNFs/DPPD-PROX/handle_qinq_encap4.h +++ b/VNFs/DPPD-PROX/handle_qinq_encap4.h @@ -25,6 +25,7 @@ #include "etypes.h" #include "mpls.h" #include "task_init.h" +#include "handle_sched.h" struct task_qinq_encap4 { struct task_base base; @@ -41,6 +42,7 @@ struct task_qinq_encap4 { uint32_t *stats_per_user; uint32_t n_users; #endif + struct rte_sched_port *sched_port; }; struct qinq_gre_entry { -- cgit 1.2.3-korg