From: Harish Patil Date: Thu, 14 Dec 2017 06:36:01 +0000 (-0800) Subject: net/qede: fix to enable LRO over tunnels X-Git-Tag: spdx-start~568 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=749d2329f3cef4d3ccbd00000193a728f9393557;p=dpdk.git net/qede: fix to enable LRO over tunnels Enable LRO feature to work with tunnel encapsulation protocols. Fixes: 29540be7efce ("net/qede: support LRO/TSO offloads") Cc: stable@dpdk.org Signed-off-by: Harish Patil --- diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 6f5ba2a927..cc473d61a5 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -482,8 +482,8 @@ qede_update_sge_tpa_params(struct ecore_sge_tpa_params *sge_tpa_params, /* Enable LRO in split mode */ sge_tpa_params->tpa_ipv4_en_flg = enable; sge_tpa_params->tpa_ipv6_en_flg = enable; - sge_tpa_params->tpa_ipv4_tunn_en_flg = false; - sge_tpa_params->tpa_ipv6_tunn_en_flg = false; + sge_tpa_params->tpa_ipv4_tunn_en_flg = enable; + sge_tpa_params->tpa_ipv6_tunn_en_flg = enable; /* set if tpa enable changes */ sge_tpa_params->update_tpa_en_flg = 1; /* set if tpa parameters should be handled */