> -----Original Message-----
> From: Wu, Wenjun1 <wenjun1...@intel.com>
> Sent: Monday, June 21, 2021 4:59 PM
> To: dev@dpdk.org; Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z
> <qi.z.zh...@intel.com>
> Cc: Wu, Wenjun1 <wenjun1...@intel.com>; sta...@dpdk.org
> 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: sta...@dpdk.org
> 
> Signed-off-by: Wenjun Wu <wenjun1...@intel.com>

Acked-by: Qi Zhang <qi.z.zh...@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

Reply via email to