]> www.infradead.org Git - linux.git/commit
bnxt_en: Add TX timestamp completion logic
authorMichael Chan <michael.chan@broadcom.com>
Fri, 28 Jun 2024 19:29:59 +0000 (12:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2024 10:23:20 +0000 (11:23 +0100)
commit1d294b4f903fc3beb18f8f20da3cec46d333daab
tree07f2bfc12a0434afa9d64facff15d8d2b4237140
parentba0155f1e9fca8e5c59c840cf5451101b8360fe6
bnxt_en: Add TX timestamp completion logic

The new BCM5760X chips will return the timestamp of TX packets in a
new completion.  Add logic in __bnxt_poll_work() to handle this
completion type to retrieve the timestamp.  This feature eliminates
the limit on the number of in-flight PTP TX packets.

Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h