[dpdk-dev] [PATCH v3 1/3] net/iavf: fix segment fault in AVX512

Coyle, David david.coyle at intel.com
Tue Apr 6 14:20:46 CEST 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Wenzhuo Lu
> Sent: Tuesday, March 30, 2021 6:30 AM
> To: dev at dpdk.org
> Cc: Lu, Wenzhuo <wenzhuo.lu at intel.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 1/3] net/iavf: fix segment fault in AVX512
> 
> Fix segment fault when failing to get the memory from the pool.
> 
> Fixes: 31737f2b66fb ("net/iavf: enable AVX512 for legacy Rx")
> Cc: stable at dpdk.org
> 
> Reported-by: David Coyle <David.Coyle at intel.com>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
> ---
>  drivers/net/iavf/iavf_rxtx_vec_avx2.c   | 120 +------------------
>  drivers/net/iavf/iavf_rxtx_vec_avx512.c |   5 +-
>  drivers/net/iavf/iavf_rxtx_vec_common.h | 203
> ++++++++++++++++++++++++++++++++
>  3 files changed, 209 insertions(+), 119 deletions(-)
> 

The patch fixes the seg fault, but note I have only tested the default '#ifndef RTE_LIBRTE_IAVF_16BYTE_RX_DESC' path

Tested-by: David Coyle <david.coyle at intel.com>


More information about the dev mailing list