> -----Original Message----- > From: Azarewicz, PiotrX T > Sent: Thursday, September 10, 2015 8:09 AM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian; Ananyev, Konstantin; Azarewicz, PiotrX T > Subject: [PATCH v4 1/1] ip_frag: fix creating ipv6 fragment extension header > > Previous implementation won't work on every environment. The order of > allocation of bit-fields within a unit (high-order to low-order or > low-order to high-order) is implementation-defined. > Solution: used bytes instead of bit fields. > > v2 changes: > - remove useless union > - fix process_ipv6 function (due to remove the union above) > > v3 changes: > - add macros to read/set fragment_offset and more_flags values > > v4 changes: > - two additional fixes due to remove the union and due to changes in > macros > > Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz at intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com> > ---