#include <rte_debug.h>
#include <rte_distributor.h>
-#include "main.h"
-
#define RX_RING_SIZE 256
#define TX_RING_SIZE 512
#define NUM_MBUFS ((64*1024)-1)
.mq_mode = ETH_MQ_TX_NONE,
},
.rx_adv_conf = {
- .rss_conf = {
- .rss_hf = ETH_RSS_IPV4 | ETH_RSS_IPV6 |
- ETH_RSS_IPV4_TCP | ETH_RSS_IPV4_UDP |
- ETH_RSS_IPV6_TCP | ETH_RSS_IPV6_UDP,
- }
+ .rss_conf = {
+ .rss_hf = ETH_RSS_IP | ETH_RSS_UDP |
+ ETH_RSS_TCP | ETH_RSS_SCTP,
+ }
},
};
/* Main function, does initialization and calls the per-lcore functions */
int
-MAIN(int argc, char *argv[])
+main(int argc, char *argv[])
{
struct rte_mempool *mbuf_pool;
struct rte_distributor *d;