NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_switch_rss_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_rss_main.c:

Go to the source code of this file.

Macros

#define SWITCH_RSS_PORTS   3
 

Functions

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

Macro Definition Documentation

◆ SWITCH_RSS_PORTS

#define SWITCH_RSS_PORTS   3

Definition at line 72 of file flow_switch_rss_main.c.

Function Documentation

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_SWITCH_RSS::MAIN  )

◆ flow_switch_rss()

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

Definition at line 905 of file flow_switch_rss_sample.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 84 of file flow_switch_rss_main.c.