US 11,706,152 B2
Methods and systems for queue and pipeline latency metrology in network devices and smart NICs
Varagur Chandrasekaran, Fremont, CA (US); Allen Hubbe, Durham, NC (US); and Shrikant Vaidya, San Jose, CA (US)
Assigned to Pensando Systems Inc., Milpitas, CA (US)
Filed by Pensando Systems Inc., Milpitas, CA (US)
Filed on Jun. 15, 2021, as Appl. No. 17/347,875.
Prior Publication US 2022/0400083 A1, Dec. 15, 2022
Int. Cl. H04L 47/56 (2022.01); H04L 47/62 (2022.01)
CPC H04L 47/562 (2013.01) [H04L 47/6225 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving a plurality of inbound packets;
determining a plurality of receive queue enqueuing time timestamps of the inbound packets;
determining a plurality of receive queue dequeuing time timestamps of the inbound packets;
using the receive queue enqueuing time timestamps and the receive queue dequeuing time timestamps to determine a plurality of receive queue residency times of the inbound packets;
determining a receive pipeline latency metric based on a plurality of receive pipeline residency times of the inbound packets;
determining a receive queue latency metric based on the plurality of receive queue residency times of the inbound packets; and
reporting the receive queue latency metric and the receive pipeline latency metric to a data collector.