Hi Jochen, 

Could you please help here?

Regards
Amiya

On Fri, Mar 31, 2023 at 1:10 PM David Marchand <david.marchand@redhat.com> wrote:
Hello Jochen,

On Fri, Mar 31, 2023 at 9:07 AM <bugzilla@dpdk.org> wrote:
>
> Bug ID 1209
> Summary vmxnet3 interface not receiving any packets with dpdk-22.11.1
> Product DPDK
> Version 22.11
> Hardware x86
> OS All
> Status UNCONFIRMED
> Severity critical
> Priority Normal
> Component ethdev
> Assignee dev@dpdk.org
> Reporter amohakud@paloaltonetworks.com
> Target Milestone ---
>
> Hi,
> I recently upgraded our DPDK to 22.11.1 and observed that the guest vmxnet3
> interface is not receiving any unicast packets. It's able to receive the
> broadcast packets though. We enable promiscuous and all-multicast on the port.
>
> rte_eth_promiscuous_enable(port);
> rte_eth_allmulticast_enable(port);
>
> This happens when the vswitch has only 2 ports attached.
>
> On further triaging,
> -  I could find out that on the same setup, dpdk-20.11 works fine.
> -  Upon comparing the working scenario and non-working scenario on esx host, I
> could notice that there is some difference in port configuration of vswitch.
>
> Below is the snapshot of working case, where the  ethFRP:frame routing {
> requested:filter flags is 0x1d.
>
> port {
>    port index:365
>    vnic index:0x00000003
>    portCfg:build_1_15_2_vm-v3--p1e3-u2e3
>    dvPortId:
>    clientName:sjc-cms-esx15-csm02-pan1
>    clientType: 5 -> VMM Virtual NIC
>    clientSubType: 9 -> Vmxnet3 Client
>    world leader:2120158
>    flags: 0x40013 -> IN_USE ENABLED WORLD_ASSOC CONNECTED
>    Impl customized blocked flags:0x00000000
>    Passthru status: 0x8 -> DISABLED_BY_HOST
>    fixed Hw Id:00:50:56:b8:20:aa:
>    ethFRP:frame routing {
>       requested:filter {
>          flags:0x0000001d
>          unicastAddr:00:50:56:b8:20:aa:
>          numMulticastAddresses:0
>          multicastAddresses:
>          LADRF:[0]: 0x0
>          [1]: 0x0
>       }
>       accepted:filter {
>          flags:0x0000001d
>          unicastAddr:00:50:56:b8:20:aa:
>          numMulticastAddresses:0
>          multicastAddresses:
>          LADRF:[0]: 0x0
>          [1]: 0x0
>       }
>    }
>
>
> For the non-working case the flag is set to 0x09.
>
> port {
>    port index:365
>    vnic index:0x00000003
>    portCfg:build_1_15_2_vm-v3--p1e3-u2e3
>    dvPortId:
>    clientName:sjc-cms-esx15-csm02-pan1
>    clientType: 5 -> VMM Virtual NIC
>    clientSubType: 9 -> Vmxnet3 Client
>    world leader:2120158
>    flags: 0x40013 -> IN_USE ENABLED WORLD_ASSOC CONNECTED
>    Impl customized blocked flags:0x00000000
>    Passthru status: 0x8 -> DISABLED_BY_HOST
>    fixed Hw Id:00:50:56:b8:20:aa:
>    ethFRP:frame routing {
>       requested:filter {
>          flags:0x00000009
>          unicastAddr:00:50:56:b8:20:aa:
>          numMulticastAddresses:0
>          multicastAddresses:
>          LADRF:[0]: 0x0
>          [1]: 0x0
>       }
>       accepted:filter {
>          flags:0x00000009
>          unicastAddr:00:50:56:b8:20:aa:
>          numMulticastAddresses:0
>          multicastAddresses:
>          LADRF:[0]: 0x0
>          [1]: 0x0
>       }
>    }
>    filter supported features: 0 -> NONE
>    filter properties: 0 -> NONE
>    rx mode: 0 -> INLINE
>    tune mode: 0 -> default
>    fastpath switch ID:0xffffffff
>    fastpath port ID:0xffffffff
> }
>
> I think these are some of the flags set by vmxnet3 device and in dpdk-22.11,
> its not updating the flags.

As a maintainer of the net/vmxnet3 driver, could you please register
to bugzilla?
And please have a look.


Thanks!

--
David marchand