[ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

David Miller davem at davemloft.net
Sat Aug 31 04:16:50 UTC 2013


From: Jesse Gross <jesse at nicira.com>
Date: Fri, 30 Aug 2013 16:20:25 -0700

> I looked through the struct definition and I think that the idea of
> manually padding as Geert did in his patch will be difficult to
> maintain over time (and actually there are a few that he missed) since
> there are a number of different structs/unions contained in there.

You have to be mindful of the gaps and wasted space for performance
reasons anyways.



More information about the dev mailing list