diff options
-rw-r--r-- | MAINTAINERS | 5 | ||||
-rw-r--r-- | src/vnet/buffer.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 06696db8d44..51130f8c17f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -105,6 +105,11 @@ M: Florin Coras <fcoras@cisco.com> F: src/vnet/lisp-cp/ F: src/vnet/lisp-gpe/ +VNET GSO +I: gso +M: Andrew Yourtchenko <ayourtch@gmail.com> +F: src/vnet/interface_output.c + Plugin - MAP M: Ole Troan <ot@cisco.com> F: src/plugins/map diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 2144ed3a9df..2f643b78d7e 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -435,7 +435,10 @@ STATIC_ASSERT (sizeof (vnet_buffer_opaque2_t) <= STRUCT_SIZE_OF (vlib_buffer_t, opaque2), "VNET buffer opaque2 meta-data too large for vlib_buffer"); -#define gso_mtu_sz(b) (vnet_buffer2(b)->gso_size + vnet_buffer2(b)->gso_l4_hdr_sz + vnet_buffer(b)->l4_hdr_offset) +#define gso_mtu_sz(b) (vnet_buffer2(b)->gso_size + \ + vnet_buffer2(b)->gso_l4_hdr_sz + \ + vnet_buffer(b)->l4_hdr_offset - \ + vnet_buffer (b)->l3_hdr_offset) format_function_t format_vnet_buffer; |