Skip to contentSkip to conversation

i40evf rx bytes statistics is losing 4 bytes per packet for vfs from same pf

dpdk-dev [email protected] 1 participant 1 message Aug 9, 2021

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=784

Bug ID: 784
Summary: i40evf rx bytes statistics is losing 4 bytes per
packet for vfs from same pf
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Recently, I found an interesting problem on i40evf(X710). It seems something is wrong when using the interface i40evf_dev_stats_get to get bytes statistics.

1. When using vfs from two pfs for tx/rx, the bytes statistics is correct.

2. When using two vfs of the same pf for tx/rx, the rx bytes statistics is losing 4 bytes per packet.

I have checked mbufs in the rx funcation, and the pkt_len is corrent in both scenes. Seems it's related to CRC Strip, but needs further confirmation.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.