Skip to content
  • Aya Levin's avatar
    d4a16052
    net/mlx5e: Fix VLAN create flow · d4a16052
    Aya Levin authored
    
    
    When interface is attached while in promiscuous mode and with VLAN
    filtering turned off, both configurations are not respected and VLAN
    filtering is performed.
    There are 2 flows which add the any-vid rules during interface attach:
    VLAN creation table and set rx mode. Each is relaying on the other to
    add any-vid rules, eventually non of them does.
    
    Fix this by adding any-vid rules on VLAN creation regardless of
    promiscuous mode.
    
    Fixes: 9df30601 ("net/mlx5e: Restore vlan filter after seamless reset")
    Signed-off-by: default avatarAya Levin <ayal@nvidia.com>
    Reviewed-by: default avatarMoshe Shemesh <moshe@nvidia.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
    d4a16052
    net/mlx5e: Fix VLAN create flow
    Aya Levin authored
    
    
    When interface is attached while in promiscuous mode and with VLAN
    filtering turned off, both configurations are not respected and VLAN
    filtering is performed.
    There are 2 flows which add the any-vid rules during interface attach:
    VLAN creation table and set rx mode. Each is relaying on the other to
    add any-vid rules, eventually non of them does.
    
    Fix this by adding any-vid rules on VLAN creation regardless of
    promiscuous mode.
    
    Fixes: 9df30601 ("net/mlx5e: Restore vlan filter after seamless reset")
    Signed-off-by: default avatarAya Levin <ayal@nvidia.com>
    Reviewed-by: default avatarMoshe Shemesh <moshe@nvidia.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Loading