OpenNSL API Guide and Reference Manual
Data Fields
opennsl_rx_cfg_s Struct Reference

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.
 

Detailed Description

User-configurable, per-unit RX configuration.

Definition at line 84 of file rx.h.

Field Documentation

opennsl_rx_chan_cfg_t opennsl_rx_cfg_s::chan_cfg[OPENNSL_CMICX_RX_CHANNELS]

RX channel configuration.

Definition at line 91 of file rx.h.

Referenced by example_rx_setup().

int* opennsl_rx_cfg_s::cpu_address

Explicitly set the relevant CPU addresses - ignore if not relevant.

Definition at line 98 of file rx.h.

int32 opennsl_rx_cfg_s::flags

See OPENNSL_RX_F_* definitions.

Definition at line 94 of file rx.h.

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

Explicitly set the relevant num of CPU addresses - ignore if not relevant.

Definition at line 95 of file rx.h.

int opennsl_rx_cfg_s::pkt_size

Default packet size.

Definition at line 85 of file rx.h.

Referenced by example_rx_setup().

int opennsl_rx_cfg_s::pkts_per_chain

Packets per DMA chain.

Definition at line 86 of file rx.h.

Referenced by example_rx_setup().

opennsl_rx_alloc_f opennsl_rx_cfg_s::rx_alloc

RX packet allocation function.

Definition at line 92 of file rx.h.

opennsl_rx_free_f opennsl_rx_cfg_s::rx_free

RX packet free function.

Definition at line 93 of file rx.h.


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