CNDP 22.08.0
Loading...
Searching...
No Matches
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_t * group
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

JCFG Thread information

Definition at line 204 of file jcfg.h.

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 206 of file jcfg.h.

◆ thread_type

◆ group

◆ lport_cnt

◆ lport_sz

uint16_t lport_sz

Size of lport arrays

Definition at line 210 of file jcfg.h.

◆ idx

uint16_t idx

Thread index value

Examples
examples/cndpfwd/stats.c.

Definition at line 211 of file jcfg.h.

◆ lport_names

char** lport_names

List of lport names

Examples
examples/cndpfwd/stats.c.

Definition at line 212 of file jcfg.h.

◆ lports

jcfg_lport_t** lports

The lports attached to this configuration

Definition at line 213 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 214 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 216 of file jcfg.h.


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