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

2022-06-15 Thread Guo, Junfeng
> -Original Message- > From: Zeng, ZhichaoX > Sent: Wednesday, June 15, 2022 15:39 > To: dev@dpdk.org > Cc: Yang, Qiming ; Zeng, ZhichaoX > ; Guo, Junfeng ; Su, > Simei > Subject: [PATCH] net/igc: fix segmentation fault in secondary dpdk- > symmetric

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

2022-06-15 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