X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl3fwd%2Fmain.c;h=fd6605bffac004db2193c58b937ac3e3f1556285;hb=065a0cbaeb8b7308a0def85d42a69c179b5963f0;hp=a50d628fca47855b1933efa9bf35e80574dbd72a;hpb=88617471b8c58f624dce4953c043b568d6db8952;p=dpdk.git diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index a50d628fca..fd6605bffa 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -156,7 +156,7 @@ static struct rte_eth_conf port_conf = { .hw_ip_checksum = 1, /**< IP checksum offload enabled */ .hw_vlan_filter = 0, /**< VLAN filtering disabled */ .jumbo_frame = 0, /**< Jumbo Frame Support disabled */ - .hw_strip_crc = 0, /**< CRC stripped by hardware */ + .hw_strip_crc = 1, /**< CRC stripped by hardware */ }, .rx_adv_conf = { .rss_conf = { @@ -688,7 +688,7 @@ parse_args(int argc, char **argv) argv[optind-1] = prgname; ret = optind-1; - optind = 0; /* reset getopt lib */ + optind = 1; /* reset getopt lib */ return ret; }