On 10/10/2023 7:03 AM, Chaoyong He wrote:
> From: Zerun Fu <zerun...@corigine.com>
> 
> The former logic of initializing the array of physical port
> representors is according to 'nfp_idx', but referencing based
> on 'port_id'. This is a potential bug and will cause segment
> fault when these two values are not equal. Fix it by using the
> 'port_id' as index at all time.
> 
> Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework")
> Cc: chaoyong...@corigine.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Zerun Fu <zerun...@corigine.com>
> Reviewed-by: Long Wu <long...@corigine.com>
> Reviewed-by: Peng Zhang <peng.zh...@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong...@corigine.com>
> 

Applied to dpdk-next-net/main, thanks.

Reply via email to