DPDK  19.11.14
Data Fields
rte_sched_port_params Struct Reference

#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
 
uint32_t n_pipes_per_subport
 

Detailed Description

Port configuration parameters.

Examples:
examples/ip_pipeline/tmgr.c, examples/qos_sched/cfg_file.c, and examples/qos_sched/init.c.

Definition at line 236 of file rte_sched.h.

Field Documentation

◆ name

const char* name

Name of the port to be associated

Examples:
examples/ip_pipeline/tmgr.c, and examples/qos_sched/init.c.

Definition at line 238 of file rte_sched.h.

◆ socket

int socket

CPU socket ID

Examples:
examples/qos_sched/init.c.

Definition at line 241 of file rte_sched.h.

◆ rate

uint64_t rate

Output port rate (measured in bytes per second)

Examples:
examples/qos_sched/init.c.

Definition at line 244 of file rte_sched.h.

◆ mtu

uint32_t mtu

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

Definition at line 249 of file rte_sched.h.

◆ frame_overhead

uint32_t frame_overhead

Framing overhead per packet (measured in bytes)

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 252 of file rte_sched.h.

◆ n_subports_per_port

uint32_t n_subports_per_port

Number of subports

Examples:
examples/qos_sched/cfg_file.c, and examples/qos_sched/init.c.

Definition at line 255 of file rte_sched.h.

◆ n_pipes_per_subport

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 262 of file rte_sched.h.


The documentation for this struct was generated from the following file: