cryptodev: remove unused PCI probe/remove
[dpdk.git] / examples / multi_process / symmetric_mp / main.c
index 6bbff07..0990d96 100644 (file)
@@ -64,7 +64,6 @@
 #include <rte_debug.h>
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
-#include <rte_ring.h>
 #include <rte_debug.h>
 #include <rte_interrupts.h>
 #include <rte_pci.h>
@@ -194,7 +193,7 @@ smp_parse_args(int argc, char **argv)
                        ports[num_ports++] = (uint8_t)i;
 
        ret = optind-1;
-       optind = 0; /* reset getopt lib */
+       optind = 1; /* reset getopt lib */
 
        return ret;
 }
@@ -214,7 +213,7 @@ smp_port_init(uint8_t port, struct rte_mempool *mbuf_pool, uint16_t num_queues)
                                .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 = {