X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_acl%2Facl_run_avx512_common.h;h=fafaf591e88e52f6ec3bd970a6882ae9d2c4d048;hb=3127f99274b679124658afdbfc49210730c50617;hp=1baf79b7aef6b38fdd6e8e9a2fb74fb3bb2b7e91;hpb=c5cf148d8915be0559b15aeff1fba649eccd1b5f;p=dpdk.git diff --git a/lib/librte_acl/acl_run_avx512_common.h b/lib/librte_acl/acl_run_avx512_common.h index 1baf79b7ae..fafaf591e8 100644 --- a/lib/librte_acl/acl_run_avx512_common.h +++ b/lib/librte_acl/acl_run_avx512_common.h @@ -246,8 +246,8 @@ _F_(match_process)(struct acl_flow_avx512 *flow, uint32_t *fmsk, tr_hi[0] = _M_I_(mask_mov_epi32)(tr_hi[0], rmsk[0], _SV_(trhi_idle)); /* save found match indexes */ - _M_I_(mask_i32scatter_epi32)(flow->matches, rmsk[0], idx[0], res, - sizeof(flow->matches[0])); + _M_I_(mask_i32scatter_epi32)((void *)flow->matches, rmsk[0], idx[0], + res, sizeof(flow->matches[0])); /* update masks and start new flows for matches */ n = update_flow_mask(flow, fmsk, rmsk);