OpenNSL API Guide and Reference Manual
|
User-configurable, per-unit RX configuration. More...
#include <rx.h>
Data Fields | |
opennsl_rx_chan_cfg_t | chan_cfg [OPENNSL_CMICX_RX_CHANNELS] |
RX channel configuration. | |
int * | cpu_address |
Explicitly set the relevant CPU addresses - ignore if not relevant. | |
int32 | flags |
See OPENNSL_RX_F_* definitions. | |
int | global_pps |
Global rate limiting as packets per second. | |
int | max_burst |
Max. | |
int | num_of_cpu_addresses |
Explicitly set the relevant num of CPU addresses - ignore if not relevant. | |
int | pkt_size |
Default packet size. | |
int | pkts_per_chain |
Packets per DMA chain. | |
opennsl_rx_alloc_f | rx_alloc |
RX packet allocation function. | |
opennsl_rx_free_f | rx_free |
RX packet free function. | |
opennsl_rx_chan_cfg_t opennsl_rx_cfg_s::chan_cfg[OPENNSL_CMICX_RX_CHANNELS] |
int* opennsl_rx_cfg_s::cpu_address |
int opennsl_rx_cfg_s::global_pps |
Global rate limiting as packets per second.
Definition at line 87 of file rx.h.
Referenced by example_rx_setup().
int opennsl_rx_cfg_s::max_burst |
Max.
packets to be received in a single burst.
Definition at line 89 of file rx.h.
Referenced by example_rx_setup().
int opennsl_rx_cfg_s::num_of_cpu_addresses |
int opennsl_rx_cfg_s::pkt_size |
int opennsl_rx_cfg_s::pkts_per_chain |
opennsl_rx_alloc_f opennsl_rx_cfg_s::rx_alloc |
opennsl_rx_free_f opennsl_rx_cfg_s::rx_free |