Home
last modified time | relevance | path

Searched refs:txts_req (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c128 struct bnxt_ptp_tx_req *txts_req = &bp->ptp_cfg->txts_req[slot]; in bnxt_hwrm_port_ts_query() local
132 req->ptp_seq_id = cpu_to_le32(txts_req->tx_seqid); in bnxt_hwrm_port_ts_query()
133 req->ptp_hdr_offset = cpu_to_le16(txts_req->tx_hdr_off); in bnxt_hwrm_port_ts_query()
698 struct bnxt_ptp_tx_req *txts_req; in bnxt_stamp_tx_skb() local
705 txts_req = &ptp->txts_req[slot]; in bnxt_stamp_tx_skb()
708 if (!time_after_eq(now, txts_req->abs_txts_tmo)) in bnxt_stamp_tx_skb()
709 tmo = jiffies_to_msecs(txts_req->abs_txts_tmo - now); in bnxt_stamp_tx_skb()
718 skb_tstamp_tx(txts_req->tx_skb, &timestamp); in bnxt_stamp_tx_skb()
721 if (!time_after_eq(jiffies, txts_req->abs_txts_tmo)) in bnxt_stamp_tx_skb()
729 dev_kfree_skb_any(txts_req->tx_skb); in bnxt_stamp_tx_skb()
[all …]
Dbnxt_ptp.h116 struct bnxt_ptp_tx_req txts_req[BNXT_MAX_TX_TS]; member
Dbnxt.c527 ptp->txts_req[txts_prod].tx_seqid = seq_id; in bnxt_start_xmit()
528 ptp->txts_req[txts_prod].tx_hdr_off = hdr_off; in bnxt_start_xmit()
765 ptp->txts_req[txts_prod].tx_skb = ERR_PTR(-EIO); in bnxt_start_xmit()