vmxnet3 interface not receiving any packets with dpdk-22.11.1
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: [email protected]
Reporter: [email protected]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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Hello Jochen,
Quoted 107 lines · On Fri, Mar 31, 2023 at 9:07 AM <[email protected]> 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 [email protected]
Reporter [email protected]
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,
(quoted diff) +0
-2- 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, Icould 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 }
Quoted 2 lines
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!
Signature · 1 line
David marchand
Hi Jochen,
Could you please help here?
Regards
Amiya
Quoted 129 lines · David Marchand
Hello Jochen,
Quoted 15 lines · On Fri, Mar 31, 2023 at 9:07 AM <[email protected]> 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 [email protected]
Reporter [email protected]
Target Milestone ---Quoted 2 lines
Hi,
I recently upgraded our DPDK to 22.11.1 and observed that the guestvmxnet3
Quoted 2 lines
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.
Review
Quoted 9 lines
rte_eth_promiscuous_enable(port);rte_eth_allmulticast_enable(port);This happens when the vswitch has only 2 ports attached.
On further triaging,
(quoted diff) +0
-2- I could find out that on the same setup, dpdk-20.11 works fine. - Upon comparing the working scenario and non-working scenario on esxhost, I
Quoted 1 line
could notice that there is some difference in port configuration of
vswitch.
Quoted 78 lines
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 }Quoted 1 line
I think these are some of the flags set by vmxnet3 device and in
dpdk-22.11,
Quoted 1 line
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