CNDP  22.08.0
jcfg_thd Struct Reference

#include <jcfg.h>

Public Member Functions

 JCFG_COMMON_HDR (jcfg_thd)
 

Data Fields

char * group_name
 
char * thread_type
 
jcfg_lgroup_tgroup
 
uint16_t lport_cnt
 
uint16_t lport_sz
 
uint16_t idx
 
char ** lport_names
 
jcfg_lport_t ** lports
 
int tid
 
volatile uint16_t quit
 
volatile uint16_t pause
 

Detailed Description

Member Function Documentation

◆ JCFG_COMMON_HDR()

JCFG_COMMON_HDR ( jcfg_thd  )

Common header for all jcfg objects

Field Documentation

◆ group_name

char* group_name

lcore group name

Examples
examples/cndpfwd/stats.c.

Definition at line 211 of file jcfg.h.

◆ thread_type

◆ group

◆ lport_cnt

◆ lport_sz

uint16_t lport_sz

Size of lport arrays

Definition at line 215 of file jcfg.h.

◆ idx

uint16_t idx

Thread index value

Examples
examples/cndpfwd/stats.c.

Definition at line 216 of file jcfg.h.

◆ lport_names

char** lport_names

List of lport names

Examples
examples/cndpfwd/stats.c.

Definition at line 217 of file jcfg.h.

◆ lports

jcfg_lport_t** lports

The lports attached to this configuration

Definition at line 218 of file jcfg.h.

◆ tid

int tid

System Thread id value

Examples
examples/cndpfwd/main.c, and examples/dlb_test/dlb_test.c.

Definition at line 219 of file jcfg.h.

◆ quit

volatile uint16_t quit

◆ pause

volatile uint16_t pause

Set to non-zero to pause thread

Examples
examples/cndpfwd/acl-func.c, examples/cndpfwd/main.c, and examples/cndpfwd/stats.c.

Definition at line 221 of file jcfg.h.


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