This series adds and extends PTP (IEEE 1588) support for the BNXT PMD:

- Patch 1: Support handling of PTP frames in the Rx path (scalar path),
  including ol_flags and packet_type updates for PTP timesync packets.

- Patch 2: Pass Rx timestamp to the application via the mbuf dynfield
  and add ptp_cfg NULL checks to avoid segfault when ptp_cfg is not
  created.

- Patch 3: Support timestamp parsing in Tx (tx_free_thresh, fast-free
  handling at dev_start and in queue setup when PTP/ieee_1588 is enabled).

- Patch 4: Enable PTP for Thor 2 VFs by creating ptp_cfg when the device
  reports PTP support (BNXT_CHIP_P5_P7), fixing "RX/TX timestamp
  registers not valid" in testpmd ieee1588 fwd mode on VFs.

Ajit Khaparde (3):
  net/bnxt: support handling PTP frames in Rx
  net/bnxt: pass Rx timestamp in mbuf
  net/bnxt: support timestamp parsing in Tx

Mohammad Shuab Siddique (1):
  net/bnxt: add ptp_cfg struct support for Thor 2 VFs

Signed-off-by: Mohammad Shuab Siddique <[email protected]>

 drivers/net/bnxt/bnxt.h        |  4 ++++
 drivers/net/bnxt/bnxt_ethdev.c | 32 ++++++++++++++++++++++++++++++++
 drivers/net/bnxt/bnxt_hwrm.c   |  2 +-
 drivers/net/bnxt/bnxt_rxr.c    | 30 ++++++++++++++++++++++++++----
 drivers/net/bnxt/bnxt_rxr.h    |  9 ++++++++-
 drivers/net/bnxt/bnxt_txq.c    |  6 ++++++
 drivers/net/bnxt/bnxt_txq.h    |  1 +
 7 files changed, 78 insertions(+), 6 deletions(-)

-- 
2.47.3

Reply via email to