Hi Nicolas,

The issue about QUEUE_MULTI_MAX being 8 will disappear when you start using DPDK 2.2. The ixgbe driver lowered the requirement for minimum receive batch size to 4. I'll push the patches for 2.2 support on ODP-DPDK probably tomorrow, if nothing objects on the patches.

Regards,

Zoltan

On 12/10/15 18:11, Zoltan Kiss wrote:
Hi,

Note, there is a lng-odp-d...@lists.linaro.org list for ODP-DPDK
specific issues.

On 06/10/15 12:03, Kury Nicolas wrote:
Hi


I have to NIC. A HP560SFP+ 10G (82599ES) and a Intel EXPI9301CT 1G
(82574L), I have some problems when I run odp_generator from
ODP-DPDK v1.2.0.0_DPDK_2.1.0-rc3.


First problem.

With the HP560SFP+ 10G, there is the messages "PMD requires >32 buffers
burst. Current 8" when I receive paquets. With the other NIC, no problem.

The ixgbe vector poll mode driver requires at least 32 buffers passed to
the receive call, otherwise it won't return any packet (and even if you
give it more it will only return 32 btw.) It is the default driver now
in 2.1, so we'll use go with it too. There is a patch upstream which
decrease this minimum to 4, but as ODP can't impose such requirement to
the application, we have a workaround in place which makes sure the DPDK
function is called with the appropriate minimum amount of buffers, then
drops the surplus. It's not nice, but so far noone had a better idea.
For this particular problem we should change the odp_pktio_recv() calls
in platform/linux-dpdk/odp_packet_io.c to use the proper minimum instead
of QUEUE_MULTI_MAX. As a workaround you can overwrite that value in your
local copy to 32.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to