Skip to content
  • Ariel Elior's avatar
    bnx2x: Loaded Firmware Version Validation · d1e2d966
    Ariel Elior authored
    
    
    In a virtualized environment it is possible for a loading driver to discover
    that Firmware is already loaded to the device, and that this FW does not match
    its own. This can happen for example if different Physical Functions are
    Assigned to different VMs in which different driver versions are loaded. The
    code in this patch ensures that only drivers with matching FW are loaded over
    the device, and that in the case described above where the Firmware version
    doesn't match the driver load is aborted.
    
    Signed-off-by: default avatarAriel Elior <ariele@broadcom.com>
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d1e2d966