[dpdk-dev] [PATCH v4 2/3] examples/l3fwd: fix using packet type blindly

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Mar 25 19:24:15 CET 2016


2016-03-25 08:47, Jianfeng Tan:
> +* **examples/vhost: Fixed frequent mbuf allocation failure.**
> +
> +  vhost-switch often fails to allocate mbuf when dequeue from vring because it
> +  wrongly calculates the number of mbufs needed.

Wrong rebase here ;)

> +* **examples/l3fwd: Fixed using packet type blindly.**
> +
> +  l3fwd makes use of packet type information without even query if devices or PMDs
> +  really set it. For those don't set ptypes, add an option to parse it softly.




More information about the dev mailing list