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

2015-10-08 Thread Thomas Monjalon
2015-09-10 12:24, Dumitrescu, Cristian: > From: Azarewicz, PiotrX T > > 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 inste

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

2015-09-10 Thread Dumitrescu, Cristian
> -Original Message- > From: Azarewicz, PiotrX T > Sent: Thursday, September 10, 2015 10: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 implementa

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

2015-09-10 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

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

2015-09-10 Thread Ananyev, Konstantin
> -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 implementat