DPDK  2.0.0
Data Fields
rte_sched_port_params Struct Reference

#include <rte_sched.h>

Data Fields

const char * name
int socket
uint32_t rate
uint32_t mtu
uint32_t frame_overhead
uint32_t n_subports_per_port
uint32_t n_pipes_per_subport
uint16_t qsize [RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]
struct rte_sched_pipe_paramspipe_profiles
uint32_t n_pipe_profiles

Detailed Description

Port configuration parameters.

Field Documentation

uint32_t frame_overhead

Framing overhead per packet (measured in bytes)

uint32_t mtu

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

uint32_t n_pipe_profiles

Number of profiles in the pipe profile table

uint32_t n_pipes_per_subport

Number of pipes for each port scheduler subport

uint32_t n_subports_per_port

Number of subports for the current port scheduler instance

const char* name

Literal string to be associated to the current port scheduler instance

struct rte_sched_pipe_params* pipe_profiles

Pipe profile table defined for current port scheduler instance. Every pipe of the current port scheduler is configured using one of the profiles from this table.

Packet queue size for each traffic class. All queues within the same pipe traffic class have the same size. Queues from different pipes serving the same traffic class have the same size.

uint32_t rate

Output port rate (measured in bytes per second)

int socket

CPU socket ID where the memory for port scheduler should be allocated


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