diff options
author | Harman Kalra <hkalra@marvell.com> | 2021-01-26 15:23:29 +0530 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-02-04 14:49:17 +0200 |
commit | 2010f8f62a58d032c3f1ec3987200e5101284eb1 (patch) | |
tree | fd3498a94298b6bec31bff5dce4ad9173524b018 /example/ipsec_crypto/odp_ipsec_stream.c | |
parent | df3abb351d23fbd4a738e43ab0f6b25de7230679 (diff) |
validation: pktio: fix segment length pool param
During pool creation segment length (param.pkt.seg_len) gets
initialised with max segment length possible (which could go
up to max packet length supported in case of single segmented
buffer), while packet length (param.pkt.len) value gets
initialised with PKT_BUF_SIZE. With this initialisation
seg length becomes much greater than packet length i.e.
(param.pkt.seg_len > param.pkt.len).
With given pool params, expectation is to support param.pkt.num
packets of param.pkt.len with first buffer segment size as
param.pkt.seg_len, which is not feasible.
Signed-off-by: Harman Kalra <hkalra@marvell.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'example/ipsec_crypto/odp_ipsec_stream.c')
0 files changed, 0 insertions, 0 deletions