Skip to contentSkip to conversation

virtio may lost pkts when pmd rxq less than virtio-max_queue_pairs

Bug 1144 [email protected] 1 participant 1 message Dec 8, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1144
           Summary: virtio may lost pkts when pmd rxq less than
                    virtio-max_queue_pairs
           Product: DPDK
           Version: 22.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: vhost/virtio
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

when virtio pmd starts, a virtio-func named modern_setup_queue will set rxq num to hw. let's suppose 4 rxqs in hw-virtio. but a dpdk-process starts use only 2 rxqs, however hw doesn't aware this, pkts will send to 4 rxqs all the same, but dpdk-process would only poll 2 rxqs which result to a pkts loss. cuz the pkts send to the other 2 unused rxqs will never be consumed.

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