net/softnic: fix build with gcc 4.5.1
[dpdk.git] / examples / ip_pipeline / config_parse.c
index 3ae7d48..3211c6a 100644 (file)
@@ -103,7 +103,7 @@ static const struct app_link_params link_params_default = {
                        .hw_vlan_strip  = 0, /* VLAN strip */
                        .hw_vlan_extend = 0, /* Extended VLAN */
                        .jumbo_frame    = 0, /* Jumbo frame support */
-                       .hw_strip_crc   = 0, /* CRC strip by HW */
+                       .hw_strip_crc   = 1, /* CRC strip by HW */
                        .enable_scatter = 0, /* Scattered packets RX handler */
 
                        .max_rx_pkt_len = 9000, /* Jumbo frame max packet len */
@@ -809,21 +809,6 @@ parse_eal(struct app_params *app,
                        continue;
                }
 
-               /* xen_dom0 */
-               if (strcmp(entry->name, "xen_dom0") == 0) {
-                       int val;
-
-                       PARSE_ERROR_DUPLICATE((p->xen_dom0_present == 0),
-                               section_name,
-                               entry->name);
-                       p->xen_dom0_present = 1;
-
-                       val = parser_read_arg_bool(entry->value);
-                       PARSE_ERROR((val >= 0), section_name, entry->name);
-                       p->xen_dom0 = val;
-                       continue;
-               }
-
                /* unrecognized */
                PARSE_ERROR_INVALID(0, section_name, entry->name);
        }
@@ -2643,10 +2628,6 @@ save_eal_params(struct app_params *app, FILE *f)
        if (p->vfio_intr)
                fprintf(f, "%s = %s\n", "vfio_intr", p->vfio_intr);
 
-       if (p->xen_dom0_present)
-               fprintf(f, "%s = %s\n", "xen_dom0",
-                       (p->xen_dom0) ? "yes" : "no");
-
        fputc('\n', f);
 }