New upstream version 18.11-rc1
[deb_dpdk.git] / examples / ipv4_multicast / main.c
index 331c32e..4073a49 100644 (file)
@@ -109,8 +109,7 @@ static struct rte_eth_conf port_conf = {
        .rxmode = {
                .max_rx_pkt_len = JUMBO_FRAME_MAX_SIZE,
                .split_hdr_size = 0,
-               .offloads = (DEV_RX_OFFLOAD_JUMBO_FRAME |
-                            DEV_RX_OFFLOAD_CRC_STRIP),
+               .offloads = DEV_RX_OFFLOAD_JUMBO_FRAME,
        },
        .txmode = {
                .mq_mode = ETH_MQ_TX_NONE,
@@ -774,7 +773,7 @@ main(int argc, char **argv)
                        qconf->tx_queue_id[portid] = queueid;
                        queueid++;
                }
-
+               rte_eth_allmulticast_enable(portid);
                /* Start device */
                ret = rte_eth_dev_start(portid);
                if (ret < 0)