Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5670 ディスカッション

Hardware Timestamp on windows

Ossama-MOUSTAFA
新規コントリビューター II
38,490件の閲覧回数

Hello. 

 

I would like to use hardware timestamping on windows, so I try to use this : 

https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getinterfaceactivetimestampcapabilities

 

But I only get this error : "ERROR_BAD_DRIVER"

(I already tried to update my drivers, on windows 11, and also on windows server 2022.)

 

I have 2 intel network adapters now : i219-LM and i210-T1. 

 

Do you know if intel support hardware timestamp on windows please ? 

Or only on linux ? 

https://www.intel.ca/content/www/ca/en/products/sku/82185/intel-ethernet-connection-i219lm/specifications.html 

 

In this page, specifications indicate that it does support PTP IEEE 1588, 

but it's not specified if it does support only software timestamp on windows or more.

 

Do you know if any other intel network adapter does support hardware timestamp on windows, please ? 

 

Kind regards. 

0 件の賞賛
106 返答(返信)
Faez_Intel
従業員
5,390件の閲覧回数

Hi Ossama,


You may refer the latest release notes for the supported OS for the NIC model of I210-IT



Refer the link below, page 6

https://www.intel.com/content/www/us/en/content-details/787029/intel-ethernet-controller-products-release-notes.html



Thanks,

Faez_Intel


Ossama-MOUSTAFA
新規コントリビューター II
5,374件の閲覧回数

Hi. 

 

Ok, thank you for this link. 

 

Best regards. 

Faez_Intel
従業員
5,329件の閲覧回数

Hi Ossama,


Good day


No problem. Is there anything else I can assist you with? Please kindly let us know and we will assist you accordingly


Thanks,

Faez_Intel


Ossama-MOUSTAFA
新規コントリビューター II
5,315件の閲覧回数

Hi. 

 

Yes, I still have this error "ERROR_FILE_NOT_FOUND" (instead of the "ERROR_BAD_DRIVER" I had before). 

Here I have a I219-LM, with the e1d driver, version 12.19.2.55. 

 

OssamaMOUSTAFA_0-1700057190055.png

 

This network card has support for PTP IEEE 1588 :

 https://www.intel.com/content/www/us/en/products/sku/82185/intel-ethernet-connection-i219lm/specifications.html 

OssamaMOUSTAFA_1-1700057311654.png

 

The driver I use is supported for my OS, Windows 11 : 

OssamaMOUSTAFA_2-1700057409131.png

 

So, do you have any idea about this "ERROR_FILE_NOT_FOUND", please ? 

 

Faez_Intel
従業員
5,286件の閲覧回数

Hi Ossama,


Good day.


Can you confirm if this error is prompted when you are trying to execute the hardware timestamping on the NIC? Please let us know on the commands that is used to execute the hardware timestapping.


Thanks,

Faez_Intel


Ossama-MOUSTAFA
新規コントリビューター II
5,276件の閲覧回数

Hi. 

 

Yes, I get this error when I try to use this : "GetInterfaceActiveTimestampCapabilities". (C++ code.)

https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getinterfaceactivetimestampcapabilities )

I try to use this in order to check if I can have hardware timestamp capabilities on these intel network cards. 

 

Best regards. 

Faez_Intel
従業員
5,225件の閲覧回数

Hi Ossama,


Good day. Noted on this.


Please allow us some time to check on this on executing the hardware timestamp and we will get back to you accordingly.


Thanks,

Faez_Intel


Ossama-MOUSTAFA
新規コントリビューター II
5,214件の閲覧回数

Hi. 

 

Ok, no problem, thank you. 

 

Best regards. 

Ossama-MOUSTAFA
新規コントリビューター II
5,190件の閲覧回数

Hi Faez. 

 

I did other tests here with 2 intel network cards : i219-LM and i210. 

I installed the latest driver release of 28.2.1. 

I enabled "PTP Hardware Timestamp" for both of these network cards. 

 

I tried to use "GetInterfaceActiveTimestampCapabilities" (in C++, for both of these InterfaceLuid), 

and I still get this error "ERROR_BAD_DRIVER", as a result. 

 

Ethernet adapter Ethernet:
Description: Intel(R) Ethernet Connection (2) I219-LM
Interface GUID: {56C4F684-1C2A-4115-A071-7A6A29166556}
Interface Index: 7
Interface Luid: 0x6008001000000

Ethernet adapter Ethernet 2:
Description: Intel(R) I210 Gigabit Network Connection
Interface GUID: {A2ECF02F-98E0-4652-AFB4-7B252598E48F}
Interface Index: 11
Interface Luid: 0x6008002000000

 

I have windows 11 Pro, 22h2. Do you think I should try with an other version of windows 11, or windows server ? 

 

OssamaMOUSTAFA_0-1700582809311.png

 

Best regards. 

 

Hayat
従業員
4,755件の閲覧回数

Hi Ossama,


Apologies for any delays. Thank you for your patience.


Kindly test using the latest driver release 28.3 below:

https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html


If the issue still persists, please provide us the ETL logs that shows the error while running the test program.


Kindly let us know if you have any questions.


Regards,

Hayat

Intel Customer Support


Ossama-MOUSTAFA
新規コントリビューター II
4,752件の閲覧回数

Hi. 

 

No problem, you are welcome. 

 

Ok, I will try this, thank you. 

 

How can I have these "ETL logs", please ? 

 

Best regards. 

JohnTray
初心者
4,742件の閲覧回数

Hi @Hayat

 

I have tried with I350-T2 still no PTP hardware / software timestamp show on ACU on Windows 10 and Windows 11.

 

Is there any other way to make this work for I350-T2/T4? We are planning to buy 80 pieces and need experts help.

 

Thank you.

Hayat
従業員
4,722件の閲覧回数

Hi JohnTray,

Kindly open a new support case or thread using the link  below:
https://www.intel.com/content/www/us/en/support.html


Thank you.

 

Regards,

Hayat

JohnTray
初心者
4,713件の閲覧回数
Hayat
従業員
4,694件の閲覧回数

Hi Ossama,


Can you please check below link:

https://learn.microsoft.com/en-us/visualstudio/ide/report-a-problem-perfview-minidumps?view=vs-2022


Regards,

Hayat

Intel Customer Support



Hayat
従業員
4,647件の閲覧回数

Hello Ossama,

 

Regarding your thread, we are following up to find out if you were able to complete the actions, we previously recommended.

 

Please reply here to confirm, so we can continue helping with a resolution. Looking forward to receiving your reply!

 

Thank You.


Regards,

Hayat

Intel® Customer Support


Ossama-MOUSTAFA
新規コントリビューター II
4,644件の閲覧回数

Hi. 

 

No, sorry but I didn't do this yet. 

I will do this as soon as I can. 

 

You are welcome. 

 

Best regards. 

Ossama-MOUSTAFA
新規コントリビューター II
4,589件の閲覧回数

Hi @Hayat .

 

Yes, now I completed these actions. 

Here are the logs you asked for, attached to this message. 

 

I just try to use " GetInterfaceActiveTimestampCapabilities() ". 

 

Example: 

 

NET_LUID lInterfaceLuid;
INTERFACE_TIMESTAMP_CAPABILITIES lTimestampCapabilities;
lInterfaceLuid.Value = 0x6008001000000; // Or le NetLuid of another network card. 
auto lResult = GetInterfaceActiveTimestampCapabilities(&lInterfaceLuid, &lTimestampCapabilities);
std::cout << "Result: " << lResult << std::endl;

 

And I always get this error with intel network cards: 2001. ("ERROR_BAD_DRIVER")
 
Thank you. 
 
Best regards. 
Hayat
従業員
4,581件の閲覧回数

Hello Osama,


Thank you for the provided information.


We are currently reviewing the information and will get back soon with more updates.


Regards.

Hayat

Intel Customer Support


Ossama-MOUSTAFA
新規コントリビューター II
4,578件の閲覧回数

Hi. 

 

You are welcome. Ok, thank you. 

 

Best regards. 

Azeem_Intel
従業員
2,958件の閲覧回数

Hi Ossama-MOUSTAFA,



Greetings for the day!


Hope this message finds you well. We wanted to address your query by informing you that, unfortunately, we do not validate PTP on Windows. However, it's worth noting that only the Linux driver is fully validated for support with the I210 IEEE 1588.


Please do not hesitate in contact us, we are more than glad to assist you.


Best Regards,

Azeem_Intel


返信