#include <rte_gso.h>
GSO context structure.
Definition at line 37 of file rte_gso.h.
◆ direct_pool
MBUF pool for allocating direct buffers, which are used to store packet headers for GSO segments.
Definition at line 38 of file rte_gso.h.
◆ indirect_pool
MBUF pool for allocating indirect buffers, which are used to locate packet payloads for GSO segments. The indirect buffer doesn't contain any data, but simply points to an offset within the packet to segment.
Definition at line 42 of file rte_gso.h.
◆ flag
flag that controls specific attributes of output segments, such as the type of IP ID generated (i.e. fixed or incremental).
Definition at line 48 of file rte_gso.h.
◆ gso_types
the bit mask of required GSO types. The GSO library uses the same macros as that of describing device TX offloading capabilities (i.e. RTE_ETH_TX_OFFLOAD_*_TSO) for gso_types.
For example, if applications want to segment TCP/IPv4 packets, set RTE_ETH_TX_OFFLOAD_TCP_TSO in gso_types.
Definition at line 52 of file rte_gso.h.
◆ gso_size
maximum size of an output GSO segment, including packet header and payload, measured in bytes. Must exceed RTE_GSO_SEG_SIZE_MIN.
Definition at line 61 of file rte_gso.h.
The documentation for this struct was generated from the following file: