[PATCH v2] net/mlx5: fix hypervisor detection in VLAN workaround

Raslan Darawsheh rasland at nvidia.com
Tue Jun 10 15:18:10 CEST 2025


Hi,


On 06/12/2024 4:26 PM, Viacheslav Ovsiienko wrote:
> The mlx5 PMD provides a specific workaround for the VMware ESXi
> hypervisor, enabling on-demand routing configuration to virtual
> machines. This workaround activates when the device type is
> a Virtual Function and either an ESXi hypervisor is detected
> or the hypervisor type is unknown.
> 
> For non-x86 architectures the function rte_hypervisor_get()
> consistently returns an unknown type, which triggers the workaround
> automatically without any actual needs. If there are VLAN support
> requirements, this can lead to failures in inserting default control
> flows.
> 
> Do not trigger the workaround for unknown hypervisor type
> in non-x86 environments.
> 
> Fixes: dfedf3e3f9d2 ("net/mlx5: add workaround for VLAN in virtual machine")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> 

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list