On 11/05, Yahui Cao wrote:
>If first rule is issued and then the second rule is issued with the same
>input set as first rule's, FDIR driver can't find there is an identical
>input set.
>
>Fixes: d5ea22e9f4a5 ("net/ice: configure HW FDIR rule")
>Cc: beilei.x...@intel.com
>
>Signed-off-by: Yahui Cao <yahui....@intel.com>
>---
> drivers/net/ice/ice_fdir_filter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/net/ice/ice_fdir_filter.c 
>b/drivers/net/ice/ice_fdir_filter.c
>index 736ccd54e..685383c1a 100644
>--- a/drivers/net/ice/ice_fdir_filter.c
>+++ b/drivers/net/ice/ice_fdir_filter.c
>@@ -646,7 +646,7 @@ ice_fdir_hw_tbl_conf(struct ice_pf *pf, struct ice_vsi 
>*vsi,
>                       if (!memcmp(ori_seg, seg, sizeof(*seg)))
>                               return -EAGAIN;
>               } else {
>-                      if (!memcmp(ori_seg, &seg[1], sizeof(*seg)))
>+                      if (!memcmp(&ori_seg[1], &seg[1], sizeof(*seg)))
>                               return -EAGAIN;
>               }
> 
>-- 
>2.17.1
>

Applied to dpdk-next-net-intel. Thanks.

Reply via email to