summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/handle_gre_decap_encap.c
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2018-10-27 16:26:26 +0200
committerDeepak S <deepak.s@linux.intel.com>2018-11-01 04:38:34 +0530
commit5d0595c955eb37af44b68098b6fd4f33f18e7755 (patch)
treea0319ae58232efecfa1bea9e7f361ed36ff0efec /VNFs/DPPD-PROX/handle_gre_decap_encap.c
parent2d8609495ff4a58ceae13746f067fec6b0d5cf03 (diff)
Support for DPDK 18.05 and DPDK 18.08
Improve DPDK 18.05 support introduced by 3e532aca. Support for DPDK 18.08. Change-Id: Ide712ee94254b506a0ad88c95a7e01b789f99d48 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/handle_gre_decap_encap.c')
-rw-r--r--VNFs/DPPD-PROX/handle_gre_decap_encap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/handle_gre_decap_encap.c b/VNFs/DPPD-PROX/handle_gre_decap_encap.c
index 41f6dd33..02ba4c36 100644
--- a/VNFs/DPPD-PROX/handle_gre_decap_encap.c
+++ b/VNFs/DPPD-PROX/handle_gre_decap_encap.c
@@ -156,7 +156,7 @@ static void init_task_gre_encap(struct task_base *tbase, struct task_args *targ)
struct port_cfg *port = find_reachable_task_sending_to_port(targ);
if (port) {
- task->offload_crc = port->capabilities.tx_offload_cksum;
+ task->offload_crc = port->requested_tx_offload & TX_OFFLOAD_CKSUM;
}
#ifdef GRE_TP