> 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.maxim...@samsung.com> > --- > lib/netdev-dpdk.c | 52 +++++++++++++++++++++++++++++--------------------- > -- > 1 file changed, 29 insertions(+), 23 deletions(-) >
LGTM, Acked-by: Ian Stokes <ian.sto...@intel.com> _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev