Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: aaf3b3a688dff27255cb318b219651099521a4fb https://github.com/Linaro/odp/commit/aaf3b3a688dff27255cb318b219651099521a4fb Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018)
Changed paths: M include/odp/api/abi-default/packet.h M include/odp/api/spec/packet.h M platform/linux-generic/include-abi/odp/api/abi/packet.h Log Message: ----------- api: packet: add protocol type enumeration Add enumerations for L3 and L4 protocol types, and functions to request those. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: b11eb35bf651c8e7b636f3ae63f10e756a3132d2 https://github.com/Linaro/odp/commit/b11eb35bf651c8e7b636f3ae63f10e756a3132d2 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h Log Message: ----------- api: ipsec: IP header parameter types Create IP header parameter types, so that those can be used also outside of SA parameter struct. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: e204106fb2e255b76e32a1376c935cee4c5a8e90 https://github.com/Linaro/odp/commit/e204106fb2e255b76e32a1376c935cee4c5a8e90 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h M platform/linux-generic/odp_ipsec.c M test/validation/api/ipsec/ipsec_test_out.c Log Message: ----------- api: ipsec: rename fragmentation mode option Rename outbound operation fragmentation options to frag_mode. Frag_mode is used elsewhere in the API and "mode" is too generic term for it (not future proof). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 506267929ac4b1eee22263abf8721088d7b4a5c7 https://github.com/Linaro/odp/commit/506267929ac4b1eee22263abf8721088d7b4a5c7 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h Log Message: ----------- api: ipsec: outbound operation option flags Add flags to select which options application uses. Currently, there's no ambiguity, but as soon as there are multiple options implementation needs to know which options are used and which are ignored. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 8483bfa972e4af9ee80ab3318caf99270c37daa0 https://github.com/Linaro/odp/commit/8483bfa972e4af9ee80ab3318caf99270c37daa0 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h Log Message: ----------- api: ipsec: inbound TFC padding and dummy packets Specify how application can recognize TFC padding and dummy packets at input. Packet metadata for L3/L4 protocol type indicate if the original packet was an IP or a TFC dummy packet. When packet length is larger than protocol fields indicate, some TFC padding remain in the packet. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: b962b9194d63b679afc5218858a3742ec6b3dda1 https://github.com/Linaro/odp/commit/b962b9194d63b679afc5218858a3742ec6b3dda1 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h Log Message: ----------- api: ipsec: outbound TFC padding and dummy packets Specify how application can request TFC padding and dummy packet creation at output. Application can use odp_ipsec_out_opt_t options to reguest addition of TFC padding, or creation of a TFC dummy packet (next header = 59). IP parameter override options are needed for tunnel mode dummy packet creation as there's no IP header to copy e.g. DSCP or flow label values to tunnel IP header. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 7cc568a011f1623a343399f5cff6688baf834639 https://github.com/Linaro/odp/commit/7cc568a011f1623a343399f5cff6688baf834639 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-02-02 (Fri, 02 Feb 2018) Changed paths: M include/odp/api/spec/ipsec.h Log Message: ----------- api: ipsec: inbound inner packet checksum capability Add inbound inner packet checksum check capability. When e.g. L4 checksum checking is not implemented in HW, it may be better to leave checking for application, as it would check only those packets that need the check. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Balasubramanian Manoharan <bala.manoha...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/8ef9bf024d0a...7cc568a011f1