Re: [dpdk-dev] [PATCH v2 1/2] Clear eth_dev->data in rte_eth_dev_allocate()

2016-12-21 Thread Thomas Monjalon
> > Lets clear the eth_dev->data when allocating a new rte_eth_dev so that > > drivers only need to set non-zero values. > > > > Signed-off-by: Jan Blunck > > Reviewed-by: Ferruh Yigit Both patches applied, thanks

[dpdk-dev] [PATCH v2 1/2] Clear eth_dev->data in rte_eth_dev_allocate()

2016-11-17 Thread Ferruh Yigit
On 11/17/2016 5:16 PM, Jan Blunck wrote: > Lets clear the eth_dev->data when allocating a new rte_eth_dev so that > drivers only need to set non-zero values. > > Signed-off-by: Jan Blunck > --- Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v2 1/2] Clear eth_dev->data in rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
Lets clear the eth_dev->data when allocating a new rte_eth_dev so that drivers only need to set non-zero values. Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_api.c | 7 --- drivers/net/mlx4/mlx4.c| 1 - drivers/net/mlx5/mlx5.c| 1 - drivers/n