On Tue, Jul 22, 2014 at 5:06 PM, Daniele Di Proietto <ddiproie...@vmware.com> wrote: > struct 'miniflow' already contains MINI_N_INLINE values, therefore we can save > few bytes in netdev_flow_key. > > Signed-off-by: Daniele Di Proietto <ddiproie...@vmware.com>
Pushed to master. Thanks. Pravin. > --- > lib/dpif-netdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c > index cfd7539..cad8c7a 100644 > --- a/lib/dpif-netdev.c > +++ b/lib/dpif-netdev.c > @@ -205,7 +205,7 @@ struct dp_netdev_port { > > /* There are fields in the flow structure that we never use. Therefore we can > * save a few words of memory */ > -#define NETDEV_KEY_BUF_SIZE_U32 (FLOW_U32S \ > +#define NETDEV_KEY_BUF_SIZE_U32 (FLOW_U32S - MINI_N_INLINE \ > - FLOW_U32_SIZE(regs) \ > - FLOW_U32_SIZE(metadata) \ > ) > -- > 2.0.0 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev