From: Bernard Iremonger Date: Fri, 31 Mar 2017 17:58:35 +0000 (+0100) Subject: net/i40e: update tunnel filter restore function X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2880f54a58d3c2cb65dd436f4a3ae4d8bdc8b0cb;p=dpdk.git net/i40e: update tunnel filter restore function The QinQ filter uses big buffers, set the big_buffer flag when restoring a QinQ filter. Signed-off-by: Bernard Iremonger Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 09c485e8ab..4b61d99355 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -10656,7 +10656,10 @@ i40e_tunnel_filter_restore(struct i40e_pf *pf) I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoUDP) || ((f->input.flags & I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE) == - I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE)) + I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE) || + ((f->input.flags & + I40E_AQC_ADD_CLOUD_FILTER_CUSTOM_QINQ) == + I40E_AQC_ADD_CLOUD_FILTER_CUSTOM_QINQ)) big_buffer = 1; if (big_buffer)