Multiple time domain network device translation
Examples described herein relate to a network interface device that includes circuitry to determine a target time domain in which to translate a time stamp associated with a workload and identify the target time domain to cause translation of the time stamp associated with the workload to the target time domain. In some examples, the network interface device stores time domain translation parameters of time stamps from a first time domain to one or more time domains and the network interface device translates the time stamp from the first time domain to the one or more time domains. In some examples, the network interface device comprises circuitry to store time domain translation parameters of time stamps from a first time domain to one or more time domains and the server is to perform translation of the time stamp from the first time domain to the one or more time domains based on the time domain translation parameters.
1 . An apparatus comprising:
a network interface device comprising:
a network interface;
a direct memory access (DMA) circuitry;
a host interface; and
circuitry to translate a time stamp associated with a packet received by the network interface from a first time domain to a second time domain, wherein:
the second time domain is associated with a host system coupled to the host interface or a second process executed by the host system,
a third time domain is associated with a second process,
based on receipt of a second packet from a device in the first time domain to be processed by the second process, the circuitry is to perform a translation of a time stamp of the second packet from the first time domain to the third time domain based on time domain translation parameters,
a fourth time domain is associated with a third process,
based on receipt of a third packet in a fifth time domain to be processed by the third process, the circuitry is to perform translation of a time stamp of the third packet from the fifth time domain to the fourth time domain.
2 . The apparatus of claim 1 , wherein
the network interface device comprises second circuitry to store time domain translation parameters of time stamps from the first time domain to the second time domain,
and
the host system is to process content of the received packet based on the translated time stamp in the second time domain.
3 . The apparatus of claim 1 , wherein the second host system or the second process is to process content of the received packet by performance of two or more of: packet transmission scheduling, telemetry collection, cryptography operation, packet arrival time update, histogram collection, or packet departure time update.
4 . The apparatus of claim 1 , wherein the network interface device comprises one or more of: an infrastructure processing unit (IPU), data processing unit (DPU), smartNIC, forwarding element, switch, router, network interface controller, or network-attached appliance.
5 . The apparatus of claim 1 , comprising the host system, wherein the host system is to execute the second process to process content of the received packet based on the translated time stamp by performance of two or more of: packet transmission scheduling, telemetry collection, cryptography operation, packet arrival time update, histogram collection, or packet departure time update.
6 . The apparatus of claim 5 , comprising a data center, wherein the data center comprises the host system and the time stamp is based on a clock signal utilized by the host system that sent the packet to the network interface device.
7 . The apparatus of claim 1 , wherein the circuitry is to perform translation of the time stamp associated with the received packet from the first time domain to the second time domain based on time parameters and wherein the time parameters comprise variables to apply to correlate time stamps in the first time domain to the second time domain.
8 . The apparatus of claim 1 , wherein the host system is to offload performance of time stamp translation to the circuitry of the network interface device.
9 . A method comprising:
in a network interface device, performing a translation of a time stamp of a received packet from a device in a first time domain to a second time domain, wherein:
the network interface device comprises a network interface, a direct memory access (DMA) circuitry, and a host interface and
the second time domain is associated with a server coupled to the host interface or associated with a process executed by the server;
at the server, processing content of the received packet based on the translated time stamp in the second time domain,
a third time domain is associated with a second process executed by the server,
based on receipt of a second packet from the device in the first time domain to be processed by the second process, the network interface device performing a translation of a time stamp of the second packet from the first time domain to the third time domain based on time domain translation parameters,
a fourth time domain is associated with a third process executed by the server, and
based on receipt of a third packet from a device in a fifth time domain to be processed by the third process, the network interface device performing a translation of a time stamp of the third packet from the fifth time domain to the fourth time domain.
10 . The method of claim 9 , comprising:
in the network interface device, storing time domain translation parameters of time stamps from the first time domain to the second time domain.
11 . The method of claim 10 , wherein performing translation of the time stamp from the first time domain to the second time domain comprises the network interface device performing translation of the time stamp from the first time domain to the second time domain based on the time domain translation parameters and wherein the time domain translation parameters comprise variables to apply to correlate time stamps in the first time domain to the second time domain.
12 . The method of claim 10 , wherein performing translation of the time stamp from the first time domain to the second time domain comprises the network interface device providing time domain translation parameters to the server and comprising:
the server performing translation of the time stamp from the first time domain to the second time domain based on the time domain translation parameters.
13 . The method of claim 10 , wherein performing translation of a time stamp from the first time domain to the second time domain comprises the network interface device providing the time domain translation parameters to the server and comprising a process, executed by the server, performing translation of the time stamp from the first time domain to the second time domain based on the time domain translation parameters.
14 . The method of claim 9 , wherein the processing content of the received packet comprises one or more of: packet transmission scheduling, telemetry collection, cryptography operation, packet arrival time update, histogram collection, or packet departure time update.
15 . The method of claim 9 , wherein the network interface device comprises one or more of: an infrastructure processing unit (IPU), data processing unit (DPU), smartNIC, forwarding element, switch, router, network interface controller, or network-attached appliance.
16 . At least one non-transitory computer-readable medium comprising instructions stored thereon, that if executed by one or more processors, cause the one or more processors to:
configure a network interface device to perform a translation of a time stamp of a packet from a first time domain to a second time domain and/or provide time domain translation parameters to a server to perform the translation of the time stamp from the first time domain to the second time domain, wherein:
the network interface device comprises a network interface, a direct memory access (DMA) circuitry, and a host interface and
the second time domain is associated with a server coupled to the host interface and/or associated with a process executed by the server;
the server is to process the packet based on the translated time stamp in at least the second time domain,
a third time domain is associated with a second process executed by the server,
based on receipt of a second packet from a device in the first time domain to be processed by the second process, the network interface device is to perform translation of a time stamp of the second packet from the first time domain to the third time domain based on time domain translation parameters,
a fourth time domain is associated with a third process executed by the server, and
based on receipt of a third packet from a device in a fifth time domain to be processed by the third process, the network interface device performing translation of a time stamp of the third packet from the fifth time domain to the fourth time domain.
17 . The computer-readable medium of claim 16 , wherein the first time domain comprises a timer domain of the network interface device.
18 . The computer-readable medium of claim 16 , wherein the translation of the time stamp is based on the time domain translation parameters.
19 . The computer-readable medium of claim 16 , wherein, at the server, the translation of the time stamp from the first time domain to one or more other time domains is performed by one or more of: a virtual machine, container, microservice, serverless application, or application.
20 . The computer-readable medium of claim 16 , wherein the server is to offload performance of time stamp translation to the network interface device.