V2:
+ Document odp_packet_hdr_t field initialization (Bill Fischover, Mike Holmes)
+ Remove unused payload_offset field from odp_packet_hdr_t
This patch set improves pktio fast path throughput by:
- Remove unnecessary members from odp_packet_hdr_t and odp_buffer_hdr_t to
reduce memory usage (less cache misses).
- Don't use memset in packet_init() to zero odp_packet_hdr_t contents. Instead,
initialize required values individually. This is less safe but provides a
significant performance gain.
Matias Elo (5):
linux-generic: packet: remove l3_protocol and l4_protocol members from
odp_packet_hdr_t
linux-generic: packet: remove vlan_s_tag and vlan_c_tag members from
odp_packet_hdr_t
linux-generic: packet: remove payload_offset member from
odp_packet_hdr_t
linux-generic: buffer: ifdef ipc_addr_offset member from
odp_buffer_hdr_t
linux-generic: packet: initialize only selected odp_packet_hdr_t
members
.../linux-generic/include/odp_buffer_internal.h | 8 ++--
.../include/odp_classification_inlines.h | 7 +--
.../linux-generic/include/odp_packet_internal.h | 29 ++++++------
platform/linux-generic/odp_packet.c | 51 ++++++++--------------
platform/linux-generic/pktio/ipc.c | 13 ++++++
5 files changed, 51 insertions(+), 57 deletions(-)
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp