[dpdk-dev] [PATCH] nic_uio: add device ids for i40e devices

Zhang, Helin helin.zhang at intel.com
Fri Jul 11 04:58:18 CEST 2014



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Richardson, Bruce
> Sent: Friday, July 11, 2014 8:13 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] nic_uio: add device ids for i40e devices
> 
> The FreeBSD nic_uio driver was missing the #defines to include the device ids
> for devices using the i40e driver. This change adds in the missing defines.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>  lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> index 3fe6f1c..8ba7f1b 100644
> --- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> +++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> @@ -109,6 +109,8 @@ struct pci_bdf {
>  #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)   {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)   {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev) {vend, dev},
> +#define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)    {vend, dev},
> +#define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)  {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)  {vend, dev},
> 
>  const struct device devices[] = {
> --
> 2.0.0

Acked-by: Helin Zhang <helin.zhang at intel.com>


More information about the dev mailing list