Re: [dpdk-dev] i40evf: potential segfault

2021-08-23 Thread Xing, Beilei
> -Original Message- > From: dev On Behalf Of Stefan Baranoff > Sent: Saturday, August 21, 2021 2:18 AM > To: dev@dpdk.org > Subject: [dpdk-dev] i40evf: potential segfault > > Hi all! > > I was chasing a potential segfault and it appears, if I'm readi

Re: [dpdk-dev] i40evf: potential segfault

2021-08-23 Thread Ferruh Yigit
On 8/20/2021 7:18 PM, Stefan Baranoff wrote: > Hi all! > > I was chasing a potential segfault and it appears, if I'm reading this > driver correctly, that in i40evf_init_vf() the value vf->adapter->eth_dev > is never set like pf->adapter->eth_dev is in eth_i40e_dev_init(). > > I believe this is l

[dpdk-dev] i40evf: potential segfault

2021-08-20 Thread Stefan Baranoff
Hi all! I was chasing a potential segfault and it appears, if I'm reading this driver correctly, that in i40evf_init_vf() the value vf->adapter->eth_dev is never set like pf->adapter->eth_dev is in eth_i40e_dev_init(). I believe this is leading to a segfault when something like i40e_recv_scattere