Skip to contentSkip to conversation

Issue with parsing devargs syntax on Hyper-V platforms with DPDK-21.11

Bug 933 [email protected] 1 participant 1 message Feb 3, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 933
           Summary: Issue with parsing devargs syntax on Hyper-V platforms
                    with DPDK-21.11
           Product: DPDK
           Version: 21.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Hi,

On Hyper-V(Azure) environment with/without Accelarated mode, we are seeing segmentation-fault issues while running secondary process of DPDK with legacy syntax of arguments on DPDK-21.11 version.
Whereas the same arguments were working well till DPDK-21.08 version, only with the latest DPDK-21.11 this issue occurs.

Here is the EAL argument syntax for net_failsafe PMD:
--vdev net_vdev_netvsc0,iface=s1p0 --block 032e:00:02.0

As per analysis on this, found that new feature got introduced "Enabled new devargs parser" in DPDK-21.11 version. As part of this new feature found that this DPDK patch caused this issue:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/

When we remove this patch code, we do not see any issues with loading primary/secondary processes. So, looks like issue in identifying the new global syntax and fallback to legacy syntax w.r.t to Hyper-V platforms.

Even we tried to give new syntax as mentioned in this patch to load this "vdev" based bus as follows, but still seeing issues.
-a bus=vdev,name=vdev_netvsc/class=eth/driver=vdev_netvsc

So, this is an issue with legacy syntax arguments with "--vdev" on DPDK-21.11.

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