LGTM,

Acked-by: Jarno Rajahalme <jrajaha...@nicira.com>

On Mar 31, 2014, at 9:43 PM, Pravin <pshe...@nicira.com> wrote:

> From: Pravin Shelar <pshe...@nicira.com>
> 
> netdev-dpdk uses this pointer to store dpdk mbuf. This patch fixes
> compilation error in dpdk.
> 
> Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
> ---
> lib/ofpbuf.h |    4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h
> index 8d1cb11..9becedd 100644
> --- a/lib/ofpbuf.h
> +++ b/lib/ofpbuf.h
> @@ -22,6 +22,7 @@
> #include "list.h"
> #include "packets.h"
> #include "util.h"
> +#include "netdev-dpdk.h"
> 
> #ifdef  __cplusplus
> extern "C" {
> @@ -52,6 +53,9 @@ struct ofpbuf {
>                                    UINT16_MAX. */
>     enum ofpbuf_source source;  /* Source of memory allocated as 'base'. */
>     struct list list_node;      /* Private list element for use by owner. */
> +#ifdef DPDK_NETDEV
> +    void *private_p;            /* private pointer for use by dpdk */
> +#endif
> };
> 
> void * ofpbuf_resize_l2(struct ofpbuf *, int increment);
> -- 
> 1.7.9.5
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to