Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5528 Discussions

Hardware Timestamp on windows

Ossama-MOUSTAFA
New Contributor II
33,079 Views

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 Kudos
106 Replies
Faez_Intel
Employee
4,571 Views

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
New Contributor II
4,555 Views

Hi. 

 

Ok, thank you for this link. 

 

Best regards. 

0 Kudos
Faez_Intel
Employee
4,509 Views

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
New Contributor II
4,496 Views

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 ? 

 

0 Kudos
Faez_Intel
Employee
4,466 Views

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
New Contributor II
4,456 Views

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. 

0 Kudos
Faez_Intel
Employee
4,405 Views

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


0 Kudos
Ossama-MOUSTAFA
New Contributor II
4,394 Views

Hi. 

 

Ok, no problem, thank you. 

 

Best regards. 

0 Kudos
Ossama-MOUSTAFA
New Contributor II
4,370 Views

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. 

 

0 Kudos
Hayat
Employee
3,935 Views

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


0 Kudos
Ossama-MOUSTAFA
New Contributor II
3,932 Views

Hi. 

 

No problem, you are welcome. 

 

Ok, I will try this, thank you. 

 

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

 

Best regards. 

0 Kudos
JohnTray
Novice
3,922 Views

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
Employee
3,902 Views

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

0 Kudos
Hayat
Employee
3,874 Views

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
Employee
3,827 Views

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
New Contributor II
3,824 Views

Hi. 

 

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

I will do this as soon as I can. 

 

You are welcome. 

 

Best regards. 

0 Kudos
Ossama-MOUSTAFA
New Contributor II
3,769 Views

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. 
0 Kudos
Hayat
Employee
3,761 Views

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
New Contributor II
3,758 Views

Hi. 

 

You are welcome. Ok, thank you. 

 

Best regards. 

0 Kudos
Azeem_Intel
Employee
2,138 Views

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


0 Kudos
Reply