logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_sched_port_params

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                        rte_sched_port_params(3)

Detailed Description

       Port configuration parameters.

       Definition at line 269 of file rte_sched.h.

Field Documentation

constchar*name
       Name of the port to be associated

       Definition at line 271 of file rte_sched.h.

   intsocket
       CPU socket ID

       Definition at line 274 of file rte_sched.h.

   uint64_trate
       Output port rate (measured in bytes per second)

       Definition at line 277 of file rte_sched.h.

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

       Definition at line 282 of file rte_sched.h.

   uint32_tframe_overhead
       Framing overhead per packet (measured in bytes)

       Definition at line 285 of file rte_sched.h.

   uint32_tn_subports_per_port
       Number of subports

       Definition at line 288 of file rte_sched.h.

   structrte_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_tn_subport_profiles
       Profiles in the pipe profile table

       Definition at line 296 of file rte_sched.h.

   uint32_tn_max_subport_profiles
       Max allowed profiles in the pipe profile table

       Definition at line 299 of file rte_sched.h.

   uint32_tn_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.

Name

       rte_sched_port_params

Synopsis

       #include <rte_sched.h>

   DataFields
       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

See Also