> -----Original Message-----
> From: Su, Simei <simei...@intel.com>
> Sent: Wednesday, November 13, 2019 10:03 AM
> To: Zhang, Qi Z <qi.z.zh...@intel.com>; Yang, Qiming
> <qiming.y...@intel.com>
> Cc: dev@dpdk.org; Ye, Xiaolong <xiaolong...@intel.com>; Su, Simei
> <simei...@intel.com>
> Subject: [PATCH v2] net/ice: fix flow destroy issue for RSS
>
> In ice_hash_create(), whatever the hash_function is, the filter_ptr->symm is
> always 0 and when we destroy the flow, the ice_rem_rss_cfg() is never carried
> out. So the destroy function never works well. The patch fixes this issue and
> at
> the same time distinguishes semanteme between simple_xor and
> symmetric_toeplitz.
>
> To fix this issue, the patch adds a new structure to include a flag to
> indicate if it
> is a simple_xor flow so that it's easier to remove the config when destroying
> the flow. The patch also simplifies code implementation logic in
> ice_hash_create().
>
> Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS")
>
> Signed-off-by: Simei Su <simei...@intel.com>
Acked-by: Qi Zhang <qi.z.zh...@intel.com>