[dpdk-dev] [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header

2015-09-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Azarewicz, PiotrX T > Sent: Tuesday, September 8, 2015 5:08 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian; Ananyev, Konstantin; Azarewicz, PiotrX T > Subject: [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header > > Previous implementatio

[dpdk-dev] [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header

2015-09-08 Thread Piotr Azarewicz
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 (d