[PATCH RFC net-next] igb: adjust SYSTIM register using TIMADJ register

2018-04-20 Thread Kshitiz Gupta
register to make sure the adjustment is finished. For deltas greater than this threshold the driver reverts back to using the old Read-Modify-Write approach. Signed-off-by: Kshitiz Gupta --- This change does create an oddity in the way the adjument takes place. For any adjustments greater than the

[PATCH] igb: fix adjusting ptp timestamps for tx/rx latency

2016-07-16 Thread Kshitiz Gupta
, but it is currently a subtract. - After the packets are received from the PHY, the latency between the receiving and timestamping of the packets should be a subtract operation, but it is currently an add. Signed-off-by: Kshitiz Gupta Fixes: 3f544d2 (igb: adjust ptp timestamps for tx/rx

[PATCH] igb: fix adjusting ptp timestamps for tx/rx latency

2016-07-15 Thread Kshitiz Gupta
, but it is currently a subtract. - After the packets are received from the PHY, the latency between the receiving and timestamping of the packets should be a subtract operation, but it is currently an add. Signed-off-by: Kshitiz Gupta Fixes: 3f544d2 (igb: adjust ptp timestamps for tx/rx