RE: [PATCH v2] net/igc: fix segmentation fault in secondary dpdk-symmetric_mp

2022-06-22 Thread Zhang, Qi Z
> -Original Message- > From: zhichaox.z...@intel.com > Sent: Wednesday, June 22, 2022 6:49 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zeng, ZhichaoX > ; alvinx.zh...@intel.com; Guo, Junfeng > ; Su, Simei ; Ferruh Yigit > > Subject: [PATCH v2

[PATCH v2] net/igc: fix segmentation fault in secondary dpdk-symmetric_mp

2022-06-22 Thread zhichaox . zeng
From: Zhichao Zeng In the secondary dpdk-symmetric_mp process, the "smp_port_init" was skipped, which cause some function pointers not to be initialized, and a segmentation fault occurred when calling these function pointers. This patch assigns initial values to rx_pkt_burst, tx_pkt_burst and tx