[reply inline]
>> Eg:
>> ~ # ethtool -i vmnic4
>> driver: igb
>> version: 2.1.11.1
>> firmware-version: 1.2-1 <-----
>>
>> But when I look at the actual eeprom data:
>> ~ # /usr/sbin/ethtool -e vmnic4 offset 0x64 length 2|grep 0x|awk '{print 
>> $3$2}'
>> 1332 <-------
>> Or 1-3-32 which is the correct value.
>>
>> Am I correct in assuming that that ethtool retrieves the firmware-version 
>> from
>> data presented to it via igb driver ?
>> If the answer is yes I'll try to find the driver where this is fixed.
>>
>
> Hello,
>
> Copying e1000-devel as well since that's our support email list.  Yes, I own 
> support of igb driver.  The driver configures a firmware version string 
> during probe using multiple fields in the eeprom,  depending on the part.  
> This is the current behavior anyway, but in the past this was variable and 
> has been evolving as our internal eeprom tools have evolved.  Current version 
> of igb at SF or upstream has the current mechanism. The function that handles 
> this is igb_set_fw_version.
>
> Let me know if there is more info I can provide.

Thanks for the reply Carolyn.

I'm still struggling. I looked at the 5.0.5 driver's igb_set_fw_version 
but I'm getting lost at where we're getting the fw_version from:
snprintf(adapter->fw_version,                       sizeof(adapter->fw_version),
(first time I'm navigating this code)

I tried with CentOS 6.5 and 5.0.5-k driver but ethtool still reports the 
1.2.1 firmware-version.
Yet, when I look with ethtool -e at offset 0x64 it prints 1.3.32.
Am I looking at the wrong offset ?

Regards,
Stijn

>
> Thanks,
>
> Carolyn
>



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to