> -----Original Message-----
> From: Wu, Wenjun1 <[email protected]>
> Sent: Monday, June 21, 2021 4:59 PM
> To: [email protected]; Yang, Qiming <[email protected]>; Zhang, Qi Z
> <[email protected]>
> Cc: Wu, Wenjun1 <[email protected]>; [email protected]
> Subject: [PATCH v1] net/ice/base: fix wrong first mask value setting
> 
> Since each pf does not share the same structure space, the first mask value
> should start at 0 instead of hw->pf_id * per_pf to avoid address overflow.
> Otherwise, address space will overlap when masks.first + masks.count >
> ICE_PROF_MASK_COUNT, and it may lead to unexpected variable assignment,
> which causes segmentation fault.
> 
> Fixes: 9467486f179f ("net/ice/base: enable masking for RSS and FD field
> vectors")
> Cc: [email protected]
> 
> Signed-off-by: Wenjun Wu <[email protected]>

Acked-by: Qi Zhang <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to