• I
    net: aquantia: vlan unicast address list correct handling · 94b3b542
    Igor Russkikh 提交于
    Setting up macvlan/macvtap networks over atlantic NIC results
    in no traffic over these networks because ndo_set_rx_mode did
    not listed UC MACs as registered in unicast filter.
    
    Here we fix that taking into account maximum number of UC
    filters supported by hardware. If more than MAX addresses were
    registered, we just enable promisc  and/or allmulti to pass
    the traffic in.
    
    We also remove MULTICAST_ADDRESS_MAX constant from aq_cfg since
    thats not a configurable parameter at all.
    
    Fixes: b21f502f ("net:ethernet:aquantia: Fix for multicast filter handling.")
    Signed-off-by: NIgor Russkikh <igor.russkikh@aquantia.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    94b3b542
aq_cfg.h 2.5 KB