Ping. This can be merged to master now, since there's no merge conflicts between this one and the copy based reference code.
-Petri > -----Original Message----- > From: Bill Fischofer [mailto:[email protected]] > Sent: Thursday, February 09, 2017 1:59 PM > To: Petri Savolainen <[email protected]> > Cc: lng-odp-forward <[email protected]> > Subject: Re: [lng-odp] [PATCH v2 0/5] Packet function inline > > For this series: > > Reviewed-and-tested-by: Bill Fischofer <[email protected]> > > Note: The rebase of this series onto api-next is non-trivial and not > something that's reasonable to do as part of merge processing. To > address this I've posted a v3 of this series that is properly rebased > on top of api-next + the packet ref optimization patch > http://patches.opendataplane.org/patch/7879/ > > On Wed, Feb 8, 2017 at 6:17 AM, Petri Savolainen > <[email protected]> wrote: > > First set of packet and packet flag functions are inlined. Inline > functions are > > used (can be used) internally always, but are exposed through API only > when > > builing for non-ABI compatibility. > > > > Packet handle value is changed from index(es) to a packet header > pointer. > > Packet/buffer header structure or other internal types are not exposed > to > > applications, but offsets to header fields are used instead. > > > > Ticketlock inlining was changed to the same file structure, which allows > now > > also application to use inlined functions. > > > > Performance is improved significantly on both packet microbench > > (e.g. odp_packet_len() from 9 to 4 cycles per call) and l2fwd > > (packet rate +20%). > > > > v2: > > * Moved test code changes into a separate patch set > > > > > > Petri Savolainen (5): > > linux-gen: inline: rename _STATIC to _ODP_INLINE > > linux-gen: ticketlock: inline also in application > > linux-gen: packet: packet handle is hdr pointer > > linux-gen: packet: inline functions > > linux-gen: packet: inline flag functions
