X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Fexception_path%2Fmain.c;h=331d2f484c82b1459e2e754652b1c2b57faf97da;hb=refs%2Ftags%2Fupstream%2F16.11.5;hp=e5eedcc163c96c64518f7ba045963c70901b8830;hpb=8b25d1ad5d2264bdfc2818c7bda74ee2697df6db;p=deb_dpdk.git diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index e5eedcc1..331d2f48 100644 --- a/examples/exception_path/main.c +++ b/examples/exception_path/main.c @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include @@ -115,7 +114,7 @@ static const struct rte_eth_conf port_conf = { .hw_ip_checksum = 0, /* IP checksum offload disabled */ .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 */ }, .txmode = { .mq_mode = ETH_MQ_TX_NONE, @@ -142,7 +141,7 @@ struct stats { uint64_t rx; uint64_t tx; uint64_t dropped; -}; +} __rte_cache_aligned; /* Array of lcore-specific stats */ static struct stats lcore_stats[RTE_MAX_LCORE];