NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_entropy_sample.c File Reference
#include <string.h>
#include <unistd.h>
#include <rte_byteorder.h>
#include <doca_log.h>
#include <doca_flow.h>
#include "flow_common.h"
#include "flow_switch_common.h"
Include dependency graph for flow_entropy_sample.c:

Go to the source code of this file.

Macros

#define DOCA_SAMPLE_ENTROPY_QUEUES_NUM   1
 
#define DOCA_SAMPLE_ENTROPY_ENTRIES_NUM   1
 

Functions

 DOCA_LOG_REGISTER (FLOW_ENTROPY)
 
doca_error_t flow_entropy (struct flow_switch_ctx *ctx)
 

Macro Definition Documentation

◆ DOCA_SAMPLE_ENTROPY_ENTRIES_NUM

#define DOCA_SAMPLE_ENTROPY_ENTRIES_NUM   1

Definition at line 44 of file flow_entropy_sample.c.

◆ DOCA_SAMPLE_ENTROPY_QUEUES_NUM

#define DOCA_SAMPLE_ENTROPY_QUEUES_NUM   1

Definition at line 43 of file flow_entropy_sample.c.

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_ENTROPY  )

◆ flow_entropy()

doca_error_t flow_entropy ( struct flow_switch_ctx ctx)

Definition at line 52 of file flow_entropy_sample.c.