[dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer

2016-03-24 Thread Wenzhuo Lu
There's an issue reported. In the scenario DPDK PF + DPDK VF, if the VF port is closed, PF port cannot receive packets. I found at that time the promicuous mode is disabled on the PF port. But it should be enabled. When VF port is closed, it will send a message to its PF port to reset it. During th

[dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer

2016-03-24 Thread Lu, Wenzhuo
Hi Jingjing, > > set_rx_mode(struct rte_eth_dev *dev) > > { > > struct rte_eth_dev_data *dev_data = > > - (struct rte_eth_dev_data*)dev->data->dev_private; > > + (struct rte_eth_dev_data *)dev->data; > Cast is unnecessary here. O, didn't notice that. Will send a V2. Thank

[dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer

2016-03-24 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Thursday, March 24, 2016 2:37 PM > To: dev at dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data > pointer