[dpdk-dev] [PATCH v3] i40evf: fix crash when setup tx queues on vf port

2015-07-30 Thread Wu, Jingjing
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, July 30, 2015 6:33 AM > To: Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] i40evf: fix crash when setup tx queues > on vf port > > &

[dpdk-dev] [PATCH v3] i40evf: fix crash when setup tx queues on vf port

2015-07-30 Thread Thomas Monjalon
> This patch fixes the issue: > Testpmd crashed with Segmentation fault when setup tx queues on vf > Steps for reproduce: > - create one vf device from i40e driver > - bind vf device to igb_uio and start testpmd > > With debugging tools, we saw the struct i40e_vf is cleared after > memcpy(&dev

[dpdk-dev] [PATCH v3] i40evf: fix crash when setup tx queues on vf port

2015-07-29 Thread Jingjing Wu
This patch fixes the issue: Testpmd crashed with Segmentation fault when setup tx queues on vf Steps for reproduce: - create one vf device from i40e driver - bind vf device to igb_uio and start testpmd With debugging tools, we saw the struct i40e_vf is cleared after memcpy(&dev->data->dev_conf