DPDK
21.02.0
|
#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 |
Port configuration parameters.
Definition at line 238 of file rte_sched.h.
const char* name |
Name of the port to be associated
Definition at line 240 of file rte_sched.h.
int socket |
uint64_t rate |
Output port rate (measured in bytes per second)
Definition at line 246 of file rte_sched.h.
uint32_t mtu |
Maximum Ethernet frame size (measured in bytes). Should not include the framing overhead.
Definition at line 251 of file rte_sched.h.
uint32_t frame_overhead |
Framing overhead per packet (measured in bytes)
Definition at line 254 of file rte_sched.h.
uint32_t n_subports_per_port |
Number of subports
Definition at line 257 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 262 of file rte_sched.h.
uint32_t n_subport_profiles |
Profiles in the pipe profile table
Definition at line 265 of file rte_sched.h.
uint32_t n_max_subport_profiles |
Max allowed profiles in the pipe profile table
Definition at line 268 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 275 of file rte_sched.h.