---
name: "rte_sched_port_params"
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_sched_port_params"
---

# rte\_sched\_port\_params(3)

## NAME

rte\_sched\_port\_params

## SYNOPSIS

`#include <rte_sched.h>`

### Data Fields

const char \* **name**\
 int **socket**\
 uint64\_t **rate**\
 uint32\_t **mtu**\
 uint32\_t **frame\_overhead**\
 uint32\_t **n\_subports\_per\_port**\
 struct rte\_sched\_subport\_profile\_params \* **subport\_profiles**\
 uint32\_t **n\_subport\_profiles**\
 uint32\_t **n\_max\_subport\_profiles**\
 uint32\_t **n\_pipes\_per\_subport**\

## Detailed Description

Port configuration parameters.

Definition at line **269** of file **rte\_sched.h**.

## Field Documentation

### const char\* name

Name of the port to be associated

Definition at line **271** of file **rte\_sched.h**.

### int socket

CPU socket ID

Definition at line **274** of file **rte\_sched.h**.

### uint64\_t rate

Output port rate (measured in bytes per second)

Definition at line **277** of file **rte\_sched.h**.

### uint32\_t mtu

Maximum Ethernet frame size (measured in bytes). Should not include the framing overhead.

Definition at line **282** of file **rte\_sched.h**.

### uint32\_t frame\_overhead

Framing overhead per packet (measured in bytes)

Definition at line **285** of file **rte\_sched.h**.

### uint32\_t n\_subports\_per\_port

Number of subports

Definition at line **288** of file **rte\_sched.h**.

### struct rte\_sched\_subport\_profile\_params\* subport\_profiles

subport profile table. Every pipe is configured using one of the profiles from this table.

Definition at line **293** of file **rte\_sched.h**.

### uint32\_t n\_subport\_profiles

Profiles in the pipe profile table

Definition at line **296** of file **rte\_sched.h**.

### uint32\_t n\_max\_subport\_profiles

Max allowed profiles in the pipe profile table

Definition at line **299** of file **rte\_sched.h**.

### uint32\_t n\_pipes\_per\_subport

Maximum number of subport pipes. This parameter is used to reserve a fixed number of bits in struct rte\_mbuf::sched.queue\_id for the pipe\_id for all the subports of the same port.

Definition at line **306** of file **rte\_sched.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
