> -----Original Message----- > From: David Christensen <[email protected]> > Sent: Wednesday, July 31, 2019 01:45 > To: [email protected]; Bruce Richardson <[email protected]>; > [email protected] > Cc: [email protected]; [email protected]; hgovindh > <[email protected]>; Marko Kovacevic > <[email protected]>; Ori Kam <[email protected]>; Pablo de > Lara <[email protected]>; Radu Nicolau > <[email protected]>; [email protected]; Tomasz Kantecki > <[email protected]>; Ruifeng Wang (Arm Technology China) > <[email protected]>; [email protected] > Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v4] examples/l3fwd: fix > unaligned memory access > > >> On Tue, Jul 30, 2019 at 10:50:14AM +0200, Thomas Monjalon wrote: > >>> Review please? > >>> > >>> 26/07/2019 15:58, hgovindh: > >>>> Fix unaligned memory access when reading IPv6 header which leads to > >>>> segmentation fault by changing aligned memory read to unaligned > >>>> memory read. > >>>> > >>>> Bugzilla ID: 279 > >>>> Fixes: 64d3955de1de ("examples/l3fwd: fix ARM build") > >>>> Cc: [email protected] > >>>> Cc: [email protected] > >>>> Signed-off-by: hgovindh <[email protected]> > >>>> --- a/examples/l3fwd/l3fwd_em.c > >>>> +++ b/examples/l3fwd/l3fwd_em.c > >>>> +#if defined RTE_ARCH_X86 > >>>> + key.xmm[1] = _mm_loadu_si128(data1); #else > >>>> key.xmm[1] = *(xmm_t *)data1; > >>>> - > >>>> +#endif > >>> > >> > >> The blank line should be re-added below the #ifdef. Apart from that > >> the fix looks correct to me. > >> > >> Reviewed-by: Bruce Richardson <[email protected]> > > Reviewed-by: Jerin Jacob <[email protected]> > Reviewed-by: David Christensen <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]>
Re: [dpdk-dev] [dpdk-stable] [PATCH v4] examples/l3fwd: fix unaligned memory access
Ruifeng Wang (Arm Technology China) Tue, 30 Jul 2019 18:27:46 -0700
- Re: [dpdk-dev] [PATCH v2] exa... David Christensen
- Re: [dpdk-dev] [PATCH v2]... David Christensen
- Re: [dpdk-dev] [EXT] ... Jerin Jacob Kollanukkaran
- [dpdk-dev] [PATCH v3] examples/l3fwd: ... hgovindh
- Re: [dpdk-dev] [PATCH v3] example... Burakov, Anatoly
- [dpdk-dev] [PATCH v4] examples/l3... hgovindh
- Re: [dpdk-dev] [dpdk-stable] ... Thomas Monjalon
- Re: [dpdk-dev] [dpdk-stab... Bruce Richardson
- Re: [dpdk-dev] [dpdk-... Jerin Jacob Kollanukkaran
- Re: [dpdk-dev] [... David Christensen
- Re: [dpdk-dev] [... Ruifeng Wang (Arm Technology China)
- [dpdk-dev] [PATCH v5] Example... Hariprasad Govindharajan
- Re: [dpdk-dev] [PATCH v5]... Lipiec, Herakliusz
- Re: [dpdk-dev] [PATCH... Thomas Monjalon

