numam-dpdk/drivers/net/i40e
Jingjing Wu 8d2686c0e4 i40evf: fix crash when setup Tx queues
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, dev_conf, sizeof(dev->data->dev_conf)) in
rte_eth_dev_configure, which should not happen, and the pointer to
i40e_vf isn't in the range of i40e_adapter.

The root cause is the dev_private_size in i40e virtual function driver
struct rte_i40evf_pmd was set incorrectly.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Tested-by: Marvin Liu <yong.liu@intel.com>
2015-07-30 02:15:32 +02:00
..
base i40e: fix registers access from big endian CPU 2015-07-20 01:14:08 +02:00
i40e_ethdev_vf.c i40evf: fix crash when setup Tx queues 2015-07-30 02:15:32 +02:00
i40e_ethdev.c i40evf: fix RSS with less Rx queues than Tx queues 2015-07-20 01:13:55 +02:00
i40e_ethdev.h i40evf: fix RSS with less Rx queues than Tx queues 2015-07-20 01:13:55 +02:00
i40e_fdir.c i40e: fix SCTP flow director 2015-07-20 01:13:17 +02:00
i40e_logs.h i40e: move to drivers/net/ 2015-05-22 16:06:22 +02:00
i40e_pf.c i40e: support port hotplug 2015-07-19 21:22:23 +02:00
i40e_pf.h i40e: support port hotplug 2015-07-19 21:22:23 +02:00
i40e_rxtx.c i40e: free queue memory when closing 2015-07-19 21:36:24 +02:00
i40e_rxtx.h i40e: free queue memory when closing 2015-07-19 21:36:24 +02:00
Makefile mem: move librte_malloc to eal/common 2015-07-16 13:44:48 +02:00
rte_pmd_i40e_version.map i40e: move to drivers/net/ 2015-05-22 16:06:22 +02:00