suricata
|
#include "suricata-common.h"
#include "suricata.h"
#include "util-dpdk.h"
#include "util-debug.h"
#include "util-device-private.h"
Go to the source code of this file.
Functions | |
void | DPDKCleanupEAL (void) |
void | DPDKCloseDevice (LiveDevice *ldev) |
void | DPDKFreeDevice (LiveDevice *ldev) |
int32_t | DPDKDeviceSetSocketID (uint16_t port_id, int32_t *socket_id) |
int32_t | DPDKDeviceNameSetSocketID (char *iface_name, int32_t *socket_id) |
Definition in file util-dpdk.c.
void DPDKCleanupEAL | ( | void | ) |
Definition at line 30 of file util-dpdk.c.
References RUNMODE_DPDK, SCLogError, and SCRunmodeGet().
Referenced by GlobalsDestroy().
void DPDKCloseDevice | ( | LiveDevice * | ldev | ) |
Definition at line 41 of file util-dpdk.c.
References LiveDevice_::dev, RUNMODE_DPDK, SCLogError, SCLogPerf, and SCRunmodeGet().
Referenced by LiveDeviceListClean().
int32_t DPDKDeviceNameSetSocketID | ( | char * | iface_name, |
int32_t * | socket_id | ||
) |
iface_name | - name of the queried interface |
socket_id | - socket ID of the queried port |
Definition at line 99 of file util-dpdk.c.
References DPDKDeviceSetSocketID(), SCLogError, and SCReturnInt.
int32_t DPDKDeviceSetSocketID | ( | uint16_t | port_id, |
int32_t * | socket_id | ||
) |
port_id | - queried port |
socket_id | - socket ID of the queried port |
Definition at line 75 of file util-dpdk.c.
Referenced by DPDKDeviceNameSetSocketID().
void DPDKFreeDevice | ( | LiveDevice * | ldev | ) |
Definition at line 59 of file util-dpdk.c.
References LiveDevice_::dev, RUNMODE_DPDK, SCLogDebug, and SCRunmodeGet().