On 4/9/2018 5:49 AM, Rosen, Rami wrote:
> +static void
> +axgbe_dev_info_get(struct rte_eth_dev *dev,
> +                struct rte_eth_dev_info *dev_info) {
> +     struct axgbe_port *pdata = dev->data->dev_private;
> +
> +     dev_info->pci_dev = RTE_ETH_DEV_TO_PCI(dev);
> 
> 
> [Rami Rosen] Shouldn't it be here:
>       dev_info->max_rx_queues = pdata->rx_ring_count;
>       dev_info->max_tx_queues = pdata->tx_ring_count;
> 
> 
> +     dev_info->max_rx_queues = pdata->tx_ring_count;
> +     dev_info->max_tx_queues = pdata->rx_ring_count;

Yes, good catch. Can either you or Ravi send a fix please? I can squash it.

Reply via email to