• Ivan Vecera's avatar
    be2net: restore properly promisc mode after queues reconfiguration · 52acf064
    Ivan Vecera authored
    The commit 62219066 ("be2net: Request RSS capability of Rx interface
    depending on number of Rx rings") modified be_update_queues() so the
    IFACE (HW representation of the netdevice) is destroyed and then
    re-created. This causes a regression because potential promiscuous mode
    is not restored properly during be_open() because the driver thinks
    that the HW has promiscuous mode already enabled.
    
    Note that Lancer is not affected by this bug because RX-filter flags are
    disabled during be_close() for this chipset.
    
    Cc: Sathya Perla <sathya.perla@broadcom.com>
    Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>
    Cc: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
    Cc: Somnath Kotur <somnath.kotur@broadcom.com>
    
    Fixes: 62219066 ("be2net: Request RSS capability of Rx interface depending on number of Rx rings")
    Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    52acf064
be_main.c 161 KB