DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1209] vmxnet3 interface not receiving any packets with dpdk-22.11.1
@ 2023-03-31  7:06 bugzilla
  2023-03-31  7:40 ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: bugzilla @ 2023-03-31  7:06 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 3581 bytes --]

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

            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.

Could you please help on this??


I would try to create a simplest test setup with testpmd and update here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 5485 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bug 1209] vmxnet3 interface not receiving any packets with dpdk-22.11.1
  2023-03-31  7:06 [Bug 1209] vmxnet3 interface not receiving any packets with dpdk-22.11.1 bugzilla
@ 2023-03-31  7:40 ` David Marchand
  2023-04-03  9:23   ` Amiya Mohakud
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2023-03-31  7:40 UTC (permalink / raw)
  To: Jochen Behrens; +Cc: dev, pagupta, amohakud

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bug 1209] vmxnet3 interface not receiving any packets with dpdk-22.11.1
  2023-03-31  7:40 ` David Marchand
@ 2023-04-03  9:23   ` Amiya Mohakud
  0 siblings, 0 replies; 3+ messages in thread
From: Amiya Mohakud @ 2023-04-03  9:23 UTC (permalink / raw)
  To: David Marchand; +Cc: Jochen Behrens, dev, pagupta

[-- Attachment #1: Type: text/plain, Size: 4009 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 5724 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-12  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31  7:06 [Bug 1209] vmxnet3 interface not receiving any packets with dpdk-22.11.1 bugzilla
2023-03-31  7:40 ` David Marchand
2023-04-03  9:23   ` Amiya Mohakud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).