Intermittent Packet Drops and Connection Loss on HCX L2E Networks Using QLogic NPAR
search cancel

Intermittent Packet Drops and Connection Loss on HCX L2E Networks Using QLogic NPAR

book

Article ID: 419633

calendar_today

Updated On:

Products

VMware HCX VMware vSphere ESXi

Issue/Introduction

  • Virtual machines (VMs) extended or migrated between Site A and Site B over a VMware HCX Layer 2 Extension (L2E) network intermittently drop packets and lose network connectivity, even though they remain on the same subnet. When the issue occurs, affected VMs cannot reach their default gateway (GW), communicate with other hosts, or route northbound traffic.

  • ESXi hosts use QLogic 2x25GE network adapters with NPAR (NIC Partitioning) enabled and the qedentv driver.

  • ARP requests for the GW was confirmed traversing through BOTH NE switchports (Source/Destination). 
  • Packet captures confirm that ARP requests and network traffic pass through both the Site A and Site B HCX Network Extension (NE) switchports (verified using Performing Targeted Packet Captures on HCX Network Extension Switchports).

  •  Packet captures on the host physical uplink (for example, vmnic4) show outgoing packets leaving the transmit (TX) capture point and looping back into the receive (RCV) capture point on the same physical uplink (vmnic4).

Environment

VMware HCX

QLogic 2x25GE

Cause

  • ARP request for GW is not being completed. 
  • After further investigation we identified we are running a Qlogic 2x25GE nic with the 'qedentv' driver utilizing the NPAR function.
  • This is a "known issue" with these adapters when NPAR is utilized.

Resolution

  • The below steps should be performed to disable "NPAR TX switching" function of NIC.
  1. Place ESX host in MM.
  2. Disable NPAR TX switching:
    esxcfg-module -s 'npar_tx_switching=0' qedentv
  3. Reboot ESXi host.
  4. Once host is rebooted, wait for the host to show as "connected" in vCenter.
  5. Remove from MM and vMotion the NE VM to host.
  6. Repeat on remaining ESX hosts in cluster. 

Additional Information