[dpdk-dev] [PATCH v7 28/28] bonding: remove pci device

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Nov 1 22:35:24 CET 2015


2015-10-30 15:08, Bernard Iremonger:
> +       /* return 0 if bonded device */
> +       if (eth_dev->data->dev_flags & RTE_ETH_DEV_BONDED)
> +               return 0;
> +       else
> +               return 1;
> 

Why it is not a private data of the bonding device?
Why the check on the device name is not relevant anymore?


More information about the dev mailing list