> On 31 May 2017, at 17:40, Bogdan Pricope <bogdan.pric...@linaro.org> wrote: > > Add HW checksum calculation/validation support for dpdk pktio. > No UDP/TCP HW checksum calculation/validation support for: > - IPv4 fragments > - IPv6 packets with extension headers (including fragments) > > Bogdan Pricope (6): > Initialize pktio configuration structure > dpdk: retrieve offload capabilities > dpdk: enable per pktio RX IP/UDP/TCP checksum offload > dpdk: RX - process checksum validation offload flags > dpdk: TX - set checksum calculation offload flags > examples: generator: update odp_generator to use HW checksum > capabilities > > example/generator/odp_generator.c | 107 ++++++++++++++--- > platform/linux-generic/odp_packet_io.c | 2 + > platform/linux-generic/pktio/dpdk.c | 203 ++++++++++++++++++++++++++++++++- > 3 files changed, 293 insertions(+), 19 deletions(-) > > -- > 1.9.1 >
As I commented to the RFC, this patch set is missing RX packet parsing. Without it being part of this set the next step would require removing the code added in 'dpdk: RX - process checksum validation offload flags'. The packet parsing function could also be used by odp-dpdk. -Matias