Gerhard Engleder fcf308e509 ptp: Speed up vclock lookup
ptp_convert_timestamp() is called in the RX path of network messages.
The current implementation takes ~5000ns on 1.2GHz A53. This is too much
for the hot path of packet processing.

Introduce hash table for fast vclock lookup in ptp_convert_timestamp().
The execution time of ptp_convert_timestamp() is reduced to ~700ns on
1.2GHz A53.

Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-05-10 09:48:09 +02:00
..
2022-04-30 10:24:21 -07:00
2022-03-25 13:35:34 -07:00
2022-04-27 09:41:54 -07:00
2022-04-06 08:47:52 -06:00
2022-05-04 11:01:31 -07:00
2022-03-23 18:03:08 -07:00
2022-03-31 13:57:15 -07:00
2022-04-08 12:59:43 -07:00
2022-03-24 18:12:09 -07:00
2022-04-07 06:35:34 -10:00
2022-04-27 20:36:47 +02:00
2022-04-23 09:52:07 -07:00
2022-04-23 09:46:44 -07:00
2022-03-25 13:56:18 -07:00
2022-04-24 17:25:10 +02:00
2022-03-30 10:04:11 -07:00
2022-04-07 06:35:34 -10:00
2022-03-21 14:46:01 -07:00
2022-05-10 09:48:09 +02:00
2022-03-30 10:50:48 -07:00
2022-04-01 09:37:18 -07:00
2022-04-19 10:30:43 -07:00
2022-05-03 17:27:51 -07:00
2022-04-28 16:51:24 +02:00
2022-04-05 10:40:52 -07:00
2022-03-31 13:57:15 -07:00
2022-04-05 10:40:52 -07:00
2022-03-31 14:14:03 -07:00