[ovs-dev] [PATCH v2 1/2] netdev-dpdk: Fix vHost stats.

Stokes, Ian ian.stokes at intel.com
Thu Aug 18 13:50:36 UTC 2016


> This patch introduces function 'netdev_dpdk_filter_packet_len()' which is
> intended to find and remove all packets with 'pkt_len > max_packet_len'
> from the Tx batch.
> 
> It fixes inaccurate counting of 'tx_bytes' in vHost case if there was
> dropped packets and allows to simplify send function.
> 
> Fixes: 0072e931b207 ("netdev-dpdk: add support for jumbo frames")
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---
>  lib/netdev-dpdk.c | 52 +++++++++++++++++++++++++++++---------------------
> --
>  1 file changed, 29 insertions(+), 23 deletions(-)
> 

LGTM,

Acked-by: Ian Stokes <ian.stokes at intel.com>







More information about the dev mailing list