From d431d7404d0bf8568e86f145288ed5d76ce40530 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Thu, 21 Oct 2021 20:20:24 +0000 Subject: gso: implement gso segementation copy with checksum Type: improvement Signed-off-by: Mohsin Kazmi Change-Id: Iec9dacde170533ca16e8117787e62da8af69ae96 --- src/plugins/unittest/gso_test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/unittest') diff --git a/src/plugins/unittest/gso_test.c b/src/plugins/unittest/gso_test.c index c7b047f7bff..54eb7422c87 100644 --- a/src/plugins/unittest/gso_test.c +++ b/src/plugins/unittest/gso_test.c @@ -170,14 +170,12 @@ gso_segment_buffer_test (vlib_main_t *vm, u32 bi, { vlib_buffer_t *b = vlib_get_buffer (vm, bi); generic_header_offset_t gho = { 0 }; - u32 n_bytes_b = vlib_buffer_length_in_chain (vm, b); u32 n_tx_bytes = 0; if (PREDICT_TRUE (b->flags & VNET_BUFFER_F_GSO)) { vnet_generic_header_offset_parser (b, &gho, is_l2, !is_ip6, is_ip6); - n_tx_bytes = - gso_segment_buffer (vm, ptd, bi, b, &gho, n_bytes_b, is_l2, is_ip6); + n_tx_bytes = gso_segment_buffer_inline (vm, ptd, b, &gho, is_l2, is_ip6); } return n_tx_bytes; -- cgit 1.2.3-korg