---
name: "rte_port_frag.h"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_port_frag.h"
---

# rte\_port\_frag.h(3)

## NAME

rte\_port\_frag.h

## SYNOPSIS

`#include <stdint.h>`\
 `#include 'rte_port.h'`\

### Data Structures

struct **rte\_port\_ring\_reader\_frag\_params**\

### Variables

struct **rte\_port\_in\_ops** **rte\_port\_ring\_reader\_ipv4\_frag\_ops**\
 struct **rte\_port\_in\_ops** **rte\_port\_ring\_reader\_ipv6\_frag\_ops**\

## Detailed Description

RTE Port for IPv4 Fragmentation

This port is built on top of pre-initialized single consumer **rte\_ring**. In order to minimize the amount of packets stored in the ring at any given time, the IP fragmentation functionality is executed on ring read operation, hence this port is implemented as an input port. A regular ring\_writer port can be created to write to the same ring.

The packets written to the ring are either complete IP datagrams or jumbo frames (i.e. IP packets with length bigger than provided MTU value). The packets read from the ring are all non-jumbo frames. The complete IP datagrams written to the ring are not changed. The jumbo frames are fragmented into several IP packets with length less or equal to MTU.

Definition in file **rte\_port\_frag.h**.

## Variable Documentation

### struct rte\_port\_in\_ops rte\_port\_ring\_reader\_ipv4\_frag\_ops` [extern]`

ring\_reader\_ipv4\_frag port operations

### struct rte\_port\_in\_ops rte\_port\_ring\_reader\_ipv6\_frag\_ops` [extern]`

ring\_reader\_ipv6\_frag port operations

## Author

Generated automatically by Doxygen for DPDK from the source code.
