Re: [ovs-dev] [PATCH] netdev-dpdk: Apply batch truncation API.

2016-07-25 Thread Daniele Di Proietto
Applied to master, thanks 2016-07-25 8:14 GMT-07:00 William Tu : > Instead of looping into each packet and check whether to truncate, the > patch moves it out of the loop and uses batch API. If truncation is > not set, checking 'trunc' in 'struct dp_packet_batch' at per-batch basis > can skip th

[ovs-dev] [PATCH] netdev-dpdk: Apply batch truncation API.

2016-07-25 Thread William Tu
Instead of looping into each packet and check whether to truncate, the patch moves it out of the loop and uses batch API. If truncation is not set, checking 'trunc' in 'struct dp_packet_batch' at per-batch basis can skip the per-packet checking overhead. Signed-off-by: William Tu --- lib/netdev