-
jbkwould cxgbe be a good example of using firmware files?
-
richloweddi_ufm is the way, I believe
-
richloweI'm not sure how you choose among the drivers using it
-
richloweI'd guess that and nvme are the most heavily used
-
jbki don't think that is for reading a (volatile, not NVM) file to write to the device during attach or such
-
jbki guess technically it'd be more of an opaque blob
-
jbkfor E810 (ice) it apparently requires what intel calls a 'dynamic device personalization (DDP)' file that is loaded from the OS during 'initialization' (i.e. attach)... on fbsd, this is apparently done as a separate module (ice_ddp), but based on the readme with it, it seems like the file is redistributable, so instead of trying to wrap it in a module or convert it to a giant .h file, i thoguht there's a way
-
jbkto read it from the filesystem
-
jbk(apparently the DDP is required for things like RSS)
-
jbkand the card enters a 'safe mode' without it
-
jbk(it seems like most of the other bits in it wouldn't be as useful at this time)
-
jbk(this is also unlike i40e where the card apparently includes a default configuration in it's NVM)
-
rmustaccjbk: Assuming this is a file that basically needs to be read and installed in the hw every boot then yeah, the firmload(9F) bits are what I'd use. The cxgbe examples are fine.
-
jbkok
2 hours ago