net/bnxt: fix Tx timestamp init
authorSomnath Kotur <somnath.kotur@broadcom.com>
Tue, 16 Mar 2021 05:40:48 +0000 (11:10 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 19 Mar 2021 19:29:29 +0000 (20:29 +0100)
commitaa764bae8d66856caad976c5e7d4b415c3158179
tree4b64f335748b4ecd99efd009773ff1401d631b66
parentad5750a7744b864a940a6e9cb6efb730231b5aaf
net/bnxt: fix Tx timestamp init

Fix to read the sequence ID register to get Tx timestamp.
Reading the sequence ID register is necessary for the HW FIFO to
advance and thereby get the correct value of the timestamp on Tx side.
This patch fixes that.

Fixes: b11cceb83a34 ("net/bnxt: support timesync")
Cc: stable@dpdk.org
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
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