Branch: refs/heads/api-next
  Home:   https://github.com/Linaro/odp
  Commit: f6d3bc302664e2c4121e798e86758d93fdb156f5
      
https://github.com/Linaro/odp/commit/f6d3bc302664e2c4121e798e86758d93fdb156f5
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M include/odp/api/spec/packet.h

  Log Message:
  -----------
  api: packet: ones complement sum

Added packet metadata for ones complement sum over
packet data. Some NICs calculate the sum during packet
input (at least for IP fragments) and store the value
into the packet descriptor. This offloads L4 checksum
calculation for IP fragments as SW does not need sum
all payload data, but just combine pre-calculated
sums from packet descriptors and remove extra header fields
from the sum.

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: 4da1cb6040dece2ece108cd383ab4212e7f7fe85
      
https://github.com/Linaro/odp/commit/4da1cb6040dece2ece108cd383ab4212e7f7fe85
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M platform/linux-generic/odp_packet.c

  Log Message:
  -----------
  linux-gen: packet: dummy ones complement implementation

Added dummy implementation of ones complement calls. Linux
generic implementation does not calculate the sum for all
incoming packets as it would be wasteful in SW. It's better
to wait until application asks it with odp_chksum_ones_comp16().
Later on, the sum could be stored into the packet header,
if we found a way to get it from the HW.

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: a1312ccf383637b5711c0f8c4bab6f43e63325dc
      
https://github.com/Linaro/odp/commit/a1312ccf383637b5711c0f8c4bab6f43e63325dc
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M test/validation/api/packet/packet.c
    M test/validation/api/pktio/pktio.c

  Log Message:
  -----------
  validation: packet: add call to ones complement

Call ones complement function. Actual validation of
correctness of the sum is to be done, when an implementation
exist which sets the sum on packet input.

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Compare: https://github.com/Linaro/odp/compare/6333b39f1bd5...a1312ccf3836

Reply via email to