New upstream version 16.11.4
[deb_dpdk.git] / examples / qos_sched / init.c
index 70e12bb..51ba5fb 100644 (file)
@@ -92,7 +92,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_DCB_NONE,
@@ -116,6 +116,7 @@ app_init_port(uint8_t portid, struct rte_mempool *mp)
        rx_conf.rx_thresh.wthresh = rx_thresh.wthresh;
        rx_conf.rx_free_thresh = 32;
        rx_conf.rx_drop_en = 0;
+       rx_conf.rx_deferred_start = 0;
 
        tx_conf.tx_thresh.pthresh = tx_thresh.pthresh;
        tx_conf.tx_thresh.hthresh = tx_thresh.hthresh;
@@ -123,6 +124,7 @@ app_init_port(uint8_t portid, struct rte_mempool *mp)
        tx_conf.tx_free_thresh = 0;
        tx_conf.tx_rs_thresh = 0;
        tx_conf.txq_flags = ETH_TXQ_FLAGS_NOMULTSEGS | ETH_TXQ_FLAGS_NOOFFLOADS;
+       tx_conf.tx_deferred_start = 0;
 
        /* init port */
        RTE_LOG(INFO, APP, "Initializing port %"PRIu8"... ", portid);