From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Tuesday, February 28, 2017 2:58 PM To: Savolainen, Petri (Nokia - FI/Espoo) <petri.savolai...@nokia-bell-labs.com> Cc: Maxim Uvarov <maxim.uva...@linaro.org>; lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH 1/2] linux-gen: ipc: use hdr to handle conversion function
Your series also includes TM (good catch) so it seems this need extends beyond just IPC. TM does not do pkt_hdr->pkt_hdl conversion, but buf_hdl -> pkt_hdl conversion. - odp_packet_t pkt = (odp_packet_t)buf_hdr->handle.handle; + odp_packet_t pkt = _odp_packet_from_buffer(buf_hdr->handle.handle); Maybe IPC should not record pkt header pointers into the ring, but packet handles instead. -Petri