• Amit Cohen's avatar
    vxlan: vxlan_core: Add support for FDB flush · d324eb9c
    Amit Cohen authored
    The merge commit 92716869 ("Merge branch 'br-flush-filtering'")
    added support for FDB flushing in bridge driver only, the VXLAN driver does
    not support such flushing. Extend VXLAN driver to support FDB flushing.
    In this commit, add support for flushing with state and flags, which are
    the fields that supported in the bridge driver.
    
    Note that bridge driver supports 'NTF_USE' flag, but there is no point to
    support this flag for flushing as it is ignored when flags are stored.
    'NTF_STICKY' is not relevant for VXLAN driver.
    
    'NTF_ROUTER' is not supported in bridge driver for flush as it is not
    relevant for bridge, add it for VXLAN.
    Signed-off-by: default avatarAmit Cohen <amcohen@nvidia.com>
    Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
    Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d324eb9c
vxlan_core.c 124 KB