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

Go to the source code of this file.

Macros

#define SWITCH_TO_WIRE_PORTS   3
 

Functions

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

Macro Definition Documentation

◆ SWITCH_TO_WIRE_PORTS

#define SWITCH_TO_WIRE_PORTS   3

Definition at line 77 of file flow_switch_to_wire_main.c.

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_SWITCH_TO_WIRE::MAIN  )

◆ flow_switch_to_wire()

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

Definition at line 625 of file flow_switch_to_wire_sample.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 89 of file flow_switch_to_wire_main.c.