NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_switch_single_main.c File Reference
#include <stdlib.h>
#include <doca_argp.h>
#include <doca_flow.h>
#include <doca_log.h>
#include <dpdk_utils.h>
#include "flow_switch_common.h"
Include dependency graph for flow_switch_single_main.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (FLOW_SWITCH::MAIN)
 
doca_error_t flow_switch (int nb_queues, int nb_ports, struct flow_switch_ctx *ctx)
 
int main (int argc, char **argv)
 

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_SWITCH::MAIN  )

◆ flow_switch()

doca_error_t flow_switch ( int  nb_queues,
int  nb_ports,
struct flow_switch_ctx ctx 
)

Definition at line 382 of file flow_switch_single_sample.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 48 of file flow_switch_single_main.c.