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

Lu, Wenzhuo wenzhuo.lu at intel.com
Thu Mar 24 07:53:57 CET 2016


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. Thanks.

> 
> /Jingjing



More information about the dev mailing list