On Tue, Oct 4, 2011 at 2:03 PM, Pravin B Shelar <[email protected]> wrote: > diff --git a/datapath/tunnel.h b/datapath/tunnel.h > index b3e21fa..dde75ba 100644 > --- a/datapath/tunnel.h > +++ b/datapath/tunnel.h > @@ -58,6 +58,8 @@ struct port_lookup_key { > u32 tunnel_type; > }; > > +#define PORT_KEY_LEN (offsetof(struct port_lookup_key, tunnel_type) + > sizeof(u32))
Is there a reason to not use FIELD_SIZEOF? _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
