svm: update number of segments in svm_fifo_segments 61/34961/3
authorFlorin Coras <fcoras@cisco.com>
Wed, 19 Jan 2022 04:51:08 +0000 (20:51 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 19 Jan 2022 15:58:20 +0000 (15:58 +0000)
commitb85de19145a01d3acdf326c3cfa4e94b585bb59f
treee2fe6345574c36138737921bd0afa11d459cec2b
parent95bbbe479eb5179fa61dd691d8d7d726fb71a885
svm: update number of segments in svm_fifo_segments

In addition to returning the number of bytes also update the number of
segments to reflect the number used.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia87dc2aa62cea38b18dfa83df94dc2abe29d5121
src/plugins/tlsopenssl/tls_openssl.c
src/plugins/tlspicotls/tls_picotls.c
src/svm/svm_fifo.c
src/svm/svm_fifo.h
src/vcl/vppcom.c