]> www.infradead.org Git - nvme.git/commit
bnxt_en: Add is_ts_pkt field to struct bnxt_sw_tx_bd
authorMichael Chan <michael.chan@broadcom.com>
Fri, 28 Jun 2024 19:29:57 +0000 (12:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2024 10:23:20 +0000 (11:23 +0100)
commit449da97512f3bac1520a4d649038f7357f394e5b
treefcbad399f4de1947ebf10f398c7f80d4ec3e6308
parentbe6b7ca3c2ae47a7b1a51cd9bc15d638bc348dad
bnxt_en: Add is_ts_pkt field to struct bnxt_sw_tx_bd

Remove the unused is_gso field and add the is_ts_pkt field to struct
bnxt_sw_tx_bd.  This field will mark the TX BD that has requested
HW TX timestamp.  The field needs to be cleared if the timestamp packet
is later aborted.  This field will be useful when processing the
new TX timestamp completion from the hardware in the next patches.

Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Andy Gospodarek <andrew.gospodarek@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