On Thu, Sep 26, 2019 at 12:34:31PM +0000, Jason Gunthorpe wrote: > On Thu, Sep 26, 2019 at 12:42:53PM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > > > Virtual devices like SIW or RXE don't set FW version because > > they don't have one, use that fact to rely on having empty > > fw_ver file to sense such virtual devices. > > Have you checked that every physical device does set fw version? I checked it with "grep", another solution which I had in mind is to write "virtual" keyword as FW version. Thanks > > Seems hacky > > Jason