net/bnxt: fix Rx and Tx timestamps
authorSomnath Kotur <somnath.kotur@broadcom.com>
Fri, 12 Mar 2021 05:21:09 +0000 (10:51 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 12 Mar 2021 15:27:03 +0000 (16:27 +0100)
commit71f5872dd131983932cbfeb5f71345c53473fa81
tree2200e72f4645dee86c491de2d73636ff6db0c343
parenteac4fc71cdaa6b68dbd0e4129e5751c712501693
net/bnxt: fix Rx and Tx timestamps

timesync adjust and write_time APIs needed to account for the Rx and Tx
timestamp counters as well. Fix it since it was not done earlier.

Fixes: b11cceb83a34 ("net/bnxt: support timesync")
Cc: stable@dpdk.org
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c