OpenNSL API Guide and Reference Manual
Data Fields
opennsl_rx_chan_cfg_s Struct Reference

Channel-specific RX data. More...

#include <rx.h>

Data Fields

int chains
 Number of chains (DVs) set up.
 
uint32 cos_bmp
 COS bitmap, if supported.
 
int flags
 See OPENNSL_RX_F_* definitions.
 
int rate_pps
 Deprecated: Use opennsl_rx_cos_rate_set/get.
 

Detailed Description

Channel-specific RX data.

The number of chains allowed for the channel controls the burst size that the channel accepts.

The 'rate_pps' field is DEPRECATED. The rate may be set on a per-COS basis using opennsl_rx_rate_set/get.

IMPORTANT: If OPENNSL_RX_F_MULTI_DCB is NOT used (single DCB per packet) then the rx_free routine must be given the allocation pointer (pkt->alloc_ptr) rather than the packet data pointer (pkt->_pkt_data.data or pkt->pkt_data[0].data).

Definition at line 75 of file rx.h.

Field Documentation

int opennsl_rx_chan_cfg_s::chains

Number of chains (DVs) set up.

0 means channel not used.

Definition at line 76 of file rx.h.

Referenced by example_rx_setup().

uint32 opennsl_rx_chan_cfg_s::cos_bmp

COS bitmap, if supported.

Definition at line 79 of file rx.h.

Referenced by example_rx_setup().

int opennsl_rx_chan_cfg_s::flags

See OPENNSL_RX_F_* definitions.

Definition at line 78 of file rx.h.

int opennsl_rx_chan_cfg_s::rate_pps

Deprecated: Use opennsl_rx_cos_rate_set/get.

Definition at line 77 of file rx.h.


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