New upstream version 18.08
[deb_dpdk.git] / test / test-pipeline / init.c
index 19cf04a..f33216c 100644 (file)
@@ -70,11 +70,7 @@ struct app_params app = {
 static struct rte_eth_conf port_conf = {
        .rxmode = {
                .split_hdr_size = 0,
-               .header_split   = 0, /* Header Split disabled */
-               .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   = 1, /* CRC stripped by hardware */
+               .offloads = DEV_RX_OFFLOAD_CHECKSUM | DEV_RX_OFFLOAD_CRC_STRIP,
        },
        .rx_adv_conf = {
                .rss_conf = {