i40evf: Problem with the statistics
Hi,
I am testing packet drops scenario by setting the MTU size.
My setup have i40evf driver. I set the dpdk interface's MTU size to 1800.
I am sending 100 packets of size 1918 each.
I am expecting the drop counter to increment.rte_eth_stats_get() returns i.packets with number of packets I sent.
There are no drop counters incrementing. Also my application is not recieving any packets. Is there some issue with dpdk statistics?
xstats output is as follows. It is not showing any drops but rx_good_bytes counts are incrementing.
####################################################
NIC extended statistics for port 1
####################################################rx_good_packets: 656tx_good_packets: 556rx_good_bytes: 225160tx_good_bytes: 33360rx_errors: 0tx_errors: 0rx_mbuf_allocation_errors: 0rx_q0packets: 0rx_q0bytes: 0rx_q0errors: 0tx_q0packets: 0tx_q0bytes: 0rx_bytes: 225160rx_unicast_packets: 656rx_multicast_packets: 0rx_broadcast_packets: 0rx_dropped_packets: 0rx_unknown_protocol_packets: 0tx_bytes: 33360tx_unicast_packets: 556tx_multicast_packets: 0tx_broadcast_packets: 0tx_dropped_packets: 0tx_error_packets: 0
Thanks and Regards,
Mridula