cryptodev: extend data-unit length field
authorMatan Azrad <matan@nvidia.com>
Mon, 4 Oct 2021 06:36:38 +0000 (09:36 +0300)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 16 Oct 2021 14:24:43 +0000 (16:24 +0200)
commitcab0c8f3c09ee9fd8fdd9bb73d24ea50df61698d
tree3fc4054c48b77711a1196b8c3e9667bf9aa60af7
parent49c19c94dc67a3db2f8534a1e6ca253e1f08fff7
cryptodev: extend data-unit length field

As described in [1] and as announced in [2], The field ``dataunit_len``
of the ``struct rte_crypto_cipher_xform`` moved to the end of the
structure and extended to ``uint32_t``.

In this way, sizes bigger than 64K bytes can be supported for data-unit
lengths.

[1] commit d014dddb2d69 ("cryptodev: support multiple cipher
data-units")
[2] commit 9a5c09211b3a ("doc: announce extension of crypto data-unit
length")

Signed-off-by: Matan Azrad <matan@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev_blockcipher.h
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_21_11.rst
examples/l2fwd-crypto/main.c
lib/cryptodev/rte_crypto_sym.h