vcl: enable gso for 'sendmsg' in LDP mode. 98/37798/2
authorDou Chao <chao.dou@intel.com>
Tue, 29 Nov 2022 11:41:34 +0000 (19:41 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 14 Dec 2022 16:57:14 +0000 (16:57 +0000)
commit243a0433ff05a37113d6890bbeb163bbea033687
tree1ac3ec8b63ed22649a30f1c6666ac5460a1ff9b3
parent4b9935cd54e5ca31c192cb9113e3056016f0b728
vcl: enable gso for 'sendmsg' in LDP mode.

Some upon apps(e.g. Nginx-quic) package it's several protocol buffers into a struct msg
which is a combination of gso_buffer and gso_size.
but if HostStack regardless the gso_size to the buffer and split the buffer with default mss,
that cause peer client failed on parsing the package.

Type: improvement
Signed-off-by: Dou Chao <chao.dou@intel.com>
Change-Id: I805eb642be826038ba96d1b85dad8ec0c0f6c459
Signed-off-by: Dou Chao <chao.dou@intel.com>
src/plugins/quic/quic.c
src/vcl/ldp.c
src/vcl/vppcom.c
src/vcl/vppcom.h
src/vnet/session/application_interface.h
src/vnet/session/session_node.c
src/vnet/session/session_types.h