2016-11-09 09:23, Bj?rn T?pel:
> Commit 1bbcc5d21129 ("i40evf: report error for unsupported CRC
> stripping config") broke l3fwd, since it was forcing that CRC was
> kept. Now, if i40evf is running, CRC stripping will be enabled.
[...]
> +             rte_eth_dev_info_get(portid, &dev_info);
> +             if (dev_info.driver_name &&
> +                 strcmp(dev_info.driver_name, "net_i40e_vf") == 0) {
> +                     /* i40evf require that CRC stripping is enabled. */
> +                     port_conf.rxmode.hw_strip_crc = 1;
> +             } else {
> +                     port_conf.rxmode.hw_strip_crc = 0;
> +             }

Thanks for raising the issue.
It is completely defeating the generic ethdev API.
We must not have different behaviours depending of the driver.
Why it cannot be fixed in the driver?

Reply via email to