• Shannon Nelson's avatar
    pds_core: set up device and adminq · 45d76f49
    Shannon Nelson authored
    Set up the basic adminq and notifyq queue structures.  These are
    used mostly by the client drivers for feature configuration.
    These are essentially the same adminq and notifyq as in the
    ionic driver.
    
    Part of this includes querying for device identity and FW
    information, so we can make that available to devlink dev info.
    
      $ devlink dev info pci/0000:b5:00.0
      pci/0000:b5:00.0:
        driver pds_core
        serial_number FLM18420073
        versions:
            fixed:
              asic.id 0x0
              asic.rev 0x0
            running:
              fw 1.51.0-73
            stored:
              fw.goldfw 1.15.9-C-22
              fw.mainfwa 1.60.0-73
              fw.mainfwb 1.60.0-57
    Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
    Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    45d76f49
core.h 7.48 KB