[ovs-dev] [netdev-dpdk 2/5] netdev-dpdk: Add function for getting the socket_id of netdev-dpdk.

Ben Pfaff blp at nicira.com
Wed Jun 25 20:51:14 UTC 2014


On Mon, Jun 23, 2014 at 12:37:29PM -0700, Alex Wang wrote:
> diff --git a/lib/netdev-dpdk.h b/lib/netdev-dpdk.h
> index f443a21..da507ce 100644
> --- a/lib/netdev-dpdk.h
> +++ b/lib/netdev-dpdk.h
> @@ -20,13 +20,18 @@ struct dpif_packet;
>  #include <rte_launch.h>
>  #include <rte_malloc.h>
>  
> +struct netdev;

I think that you declared "struct netdev;" separately in each fork of
the #if.  Please declare it just once at the top of the file.

Thanks,

Ben.



More information about the dev mailing list