Skip to content

No PF1 when compiled against DPDK 25.11.1 #782

Description

@PlagueCZ

DPDK EAL argument for multiport-eswitch does not provide PF1 to the application anymore.

This command:

dpdk-testpmd -a 0000:03:00.0,class=rxq_cqe_comp_en=0,rx_vec_en=1,dv_flow_en=2,dv_esw_en=1,fdb_def_rule_en=2,representor=pf[0-1]vf[0-3]  -- --interactive

will show PF0+PF1+VFs on 25.11:

Configuring Port 0 (socket 0)
Port 0: 10:70:FD:F7:4B:A0
Configuring Port 1 (socket 0)
Port 1: 10:70:FD:F7:4B:A1
Configuring Port 2 (socket 0)
Port 2: 66:78:18:31:06:AA
Configuring Port 3 (socket 0)
Port 3: AE:5D:88:46:B4:29
Configuring Port 4 (socket 0)
Port 4: 72:C6:72:09:17:94
Configuring Port 5 (socket 0)
Port 5: 42:1B:EA:12:78:76
Checking link statuses...
Done

but on 25.11.1:

Configuring Port 0 (socket 0)
Port 0: 10:70:FD:F7:4B:A0
Configuring Port 1 (socket 0)
Port 1: 66:78:18:31:06:AA
Configuring Port 2 (socket 0)
Port 2: AE:5D:88:46:B4:29
Configuring Port 3 (socket 0)
Port 3: 72:C6:72:09:17:94
Configuring Port 4 (socket 0)
Port 4: 42:1B:EA:12:78:76
Checking link statuses...
Done

using git bisect, the breaking commit is this:
DPDK/dpdk-stable@4e22d68

however reverting such a big piece of code seems problematic

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions