X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fdistributor%2Fmain.c;h=13fb04d679d3573c6abd8f73206d81b30196daf5;hb=31ff0c6a45cfc729fd7003d887fcd2612c3aca6d;hp=52266f0d58aea9763204a461bb6a80be077c98e6;hpb=07db4a9750940bbf95299a89afd12d178556e064;p=dpdk.git diff --git a/examples/distributor/main.c b/examples/distributor/main.c index 52266f0d58..13fb04d679 100644 --- a/examples/distributor/main.c +++ b/examples/distributor/main.c @@ -44,8 +44,6 @@ #include #include -#include "main.h" - #define RX_RING_SIZE 256 #define TX_RING_SIZE 512 #define NUM_MBUFS ((64*1024)-1) @@ -96,11 +94,10 @@ static const struct rte_eth_conf port_conf_default = { .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, + } }, }; @@ -492,7 +489,7 @@ parse_args(int argc, char **argv) /* 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;