> However, I have some concerns on this matter. > Our hardware provides bulk reading of the modules temperature, means > I can get all inputs by one hardware request, which is important optimization. > Reading each module individually will be resulted in huge overhead and will > require maybe some cashing of temperature inputs.
Well, you can cache the SFP calibration values, and the 4 limit values. To get an actually temperature you need to read 2 bytes from the SFP module. I don't see why that would be expensive. You talk to the firmware over PCIe right? So you have lots of bandwidth. Andrew