VKS Guest cluster worker node is deployed in a new ESXi host with Broadcom's BCM5760x pNICs using Antrea and NSX for networking.
NSX Geneve tunnel is configured on a VLAN (non-native).
The pods in the node cannot connect to other pods in the different working ESXi hosts. I.E. Pod DNS query to coredns timeout.
Packet capture shows the double encap traffic coming from the problem Tanzu node is not being seen on the destination host.
When running the below command, the "TE pkt errors tx" counter would increase on some queues correlating with the number of packets attempt to send out:
/usr/lib/vmware/vm-support/bin/nicinfo.sh | grep "TE pkt errors tx"
Example output:
[txq0] TE pkt errors tx: 4554
[txq1] TE pkt errors tx: 0
[txq2] TE pkt errors tx: 0
[txq3] TE pkt errors tx: 0
[txq4] TE pkt errors tx: 330
[txq5] TE pkt errors tx: 0
[txq6] TE pkt errors tx: 0
[txq7] TE pkt errors tx: 0
[txq8] TE pkt errors tx: 0
[txq9] TE pkt errors tx: 0
VMware NSX
VKS
VMware Antrea
A hardware limitation in the BCM5760x (Thor 2) physical NICs (pNICs). The hardware drops packets in a double encapsulation + VLAN tagging/untagging offload scenario (e.g., when the environment uses an inner encapsulation like Geneve/VXLAN for container networking and an outer encapsulation with VLAN for the NSX overlay).
Enable Software VLAN Tagging/Untagging (Recommended): Bypass the hardware limitation by forcing the ESXi host to handle VLAN tagging and untagging in software instead of offloading it to the NIC.
esxcli network nic software set --tagging=1 --untagging=1 -n vmnicX--tagging is for the TX and --untagging is for the RX
Applying the software VLAN tagging/untagging workaround forces the CPU to process VLAN tags for all traffic on that uplink, not just the double-encapsulated traffic. This can introduce a performance overhead across the affected ESXi hosts.