Patch set 94028

net/bnxt: add support to dump SFP module info

Submitter
Kalesh Anakkur Purayil
Applied on
dpdk-next-net-brcm (175af25734f295874e31b33ccd0879e69fd152a9)
Date submitted
June 9, 2021, 2:45 a.m.

Test Results Apply Error

Skipped patch 'doc/guides/nics/features/bnxt.ini'.
Checking patch drivers/net/bnxt/bnxt.h...
Hunk #2 succeeded at 921 (offset -45 lines).
Checking patch drivers/net/bnxt/bnxt_ethdev.c...
Hunk #1 succeeded at 3772 (offset -79 lines).
Hunk #2 succeeded at 3976 (offset -79 lines).
Checking patch drivers/net/bnxt/bnxt_hwrm.c...
Hunk #1 succeeded at 1498 (offset -4 lines).
Hunk #2 succeeded at 6059 (offset -99 lines).
Checking patch drivers/net/bnxt/bnxt_hwrm.h...
error: while searching for:
int bnxt_hwrm_rx_ring_reset(struct bnxt *bp, int queue_index);
int bnxt_hwrm_ring_stats(struct bnxt *bp, uint32_t cid, int idx,
			 struct bnxt_ring_stats *stats, bool rx);
#endif

error: patch failed: drivers/net/bnxt/bnxt_hwrm.h:301
Checking patch drivers/net/bnxt/hsi_struct_def_dpdk.h...
Applied patch drivers/net/bnxt/bnxt.h cleanly.
Applied patch drivers/net/bnxt/bnxt_ethdev.c cleanly.
Applied patch drivers/net/bnxt/bnxt_hwrm.c cleanly.
Applying patch drivers/net/bnxt/bnxt_hwrm.h with 1 reject...
Rejected hunk #1.
Applied patch drivers/net/bnxt/hsi_struct_def_dpdk.h cleanly.
diff a/drivers/net/bnxt/bnxt_hwrm.h b/drivers/net/bnxt/bnxt_hwrm.h	(rejected hunks)
@@ -301,4 +301,7 @@ int bnxt_hwrm_poll_ver_get(struct bnxt *bp);
 int bnxt_hwrm_rx_ring_reset(struct bnxt *bp, int queue_index);
 int bnxt_hwrm_ring_stats(struct bnxt *bp, uint32_t cid, int idx,
 			 struct bnxt_ring_stats *stats, bool rx);
+int bnxt_hwrm_read_sfp_module_eeprom_info(struct bnxt *bp, uint16_t i2c_addr,
+					  uint16_t page_number, uint16_t start_addr,
+					  uint16_t data_length, uint8_t *buf);
 #endif