From: Bernard Iremonger Date: Fri, 31 Mar 2017 17:58:34 +0000 (+0100) Subject: net/i40e: update destroy tunnel filter function X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=484092649e42d75889ce94a7d35b4f0830f8d684;p=dpdk.git net/i40e: update destroy tunnel filter function The QinQ filter uses big buffers, set the big_buffer flag when removing a QinQ filter. Signed-off-by: Bernard Iremonger Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index bbec7dc1c5..9f541eaff7 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -2095,7 +2095,9 @@ i40e_flow_destroy_tunnel_filter(struct i40e_pf *pf, if (((filter->input.flags & I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoUDP) == I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoUDP) || ((filter->input.flags & I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE) == - I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE)) + I40E_AQC_ADD_CLOUD_FILTER_TEID_MPLSoGRE) || + ((filter->input.flags & I40E_AQC_ADD_CLOUD_FILTER_CUSTOM_QINQ) == + I40E_AQC_ADD_CLOUD_FILTER_CUSTOM_QINQ)) big_buffer = 1; if (big_buffer)