On 1/23/2017 11:59 AM, Hemant Agrawal wrote: > Signed-off-by: Hemant Agrawal <[email protected]> > --- <...>
> static int
> dpaa2_dev_init(struct rte_eth_dev *eth_dev)
> {
<...>
> + eth_dev->data->nb_rx_queues = priv->nb_rx_queues;
> + eth_dev->data->nb_tx_queues = priv->nb_tx_queues;
No need to assign these during init(), app should set these via
rte_eth_dev_configure() API.
> +
> + priv->hw = dpni_dev;
> + priv->hw_id = hw_id;
> + priv->flags = 0;
<...>

