On Wed, May 11, 2022 at 1:39 PM David Marchand <david.march...@redhat.com> wrote: <snip> > Based on the vector specific implemtations of process_packet in this > example, this code could be replaced with a call to rfc1812_process(). > Eth macs updates can be moved prior to rfc1812_process. > > What do you think of (untested): That actually looks a lot better! Though it seems safer to use rte_pktmbuf_mtod_offset() for getting the ipv4_hdr. I'll post V2 with this update.
- Re: [PATCH 1/1] examples/l3fwd: fix scalar LPM compilat... David Marchand
- Re: [PATCH 1/1] examples/l3fwd: fix scalar LPM com... Stanisław Kardach