suricata
runmode-dpdk.c File Reference
#include "suricata-common.h"
#include "runmodes.h"
#include "runmode-dpdk.h"
#include "decode.h"
#include "source-dpdk.h"
#include "util-runmodes.h"
#include "util-byte.h"
#include "util-cpu.h"
#include "util-debug.h"
#include "util-device.h"
#include "util-dpdk.h"
#include "util-dpdk-i40e.h"
#include "util-dpdk-ice.h"
#include "util-dpdk-ixgbe.h"
#include "util-time.h"
#include "util-conf.h"
#include "suricata.h"
Include dependency graph for runmode-dpdk.c:

Go to the source code of this file.

Functions

const char * RunModeDpdkGetDefaultMode (void)
 
void RunModeDpdkRegister (void)
 
int RunModeIdsDpdkWorkers (void)
 Workers version of the DPDK processing. More...
 

Detailed Description

Author
Lukas Sismis lukas.nosp@m..sis.nosp@m.mis@g.nosp@m.mail.nosp@m..com

DPDK runmode

Definition in file runmode-dpdk.c.

Function Documentation

◆ RunModeDpdkGetDefaultMode()

const char* RunModeDpdkGetDefaultMode ( void  )

Definition at line 1423 of file runmode-dpdk.c.

◆ RunModeDpdkRegister()

void RunModeDpdkRegister ( void  )

Definition at line 1428 of file runmode-dpdk.c.

References RUNMODE_DPDK, RunModeIdsDpdkWorkers(), and RunModeRegisterNewRunMode().

Here is the call graph for this function:

◆ RunModeIdsDpdkWorkers()

int RunModeIdsDpdkWorkers ( void  )

Workers version of the DPDK processing.

Start N threads with each thread doing all the work.

Definition at line 1442 of file runmode-dpdk.c.

References FatalError, RunModeInitialize(), RunModeSetLiveCaptureWorkers(), SCEnter, SCLogDebug, SCReturnInt, thread_name_workers, and TimeModeSetLive().

Referenced by RunModeDpdkRegister().

Here is the call graph for this function:
Here is the caller graph for this function: