net/bnxt: dump SFP module info
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Wed, 9 Jun 2021 02:45:15 +0000 (08:15 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 8 Jul 2021 03:55:48 +0000 (05:55 +0200)
commit6253a23491a4ad7dd38d89737ad72229b1dc8c1f
treec472a6cb7811e2905eb6665823379c2a24710e63
parent1e5acc5be59bae297e75d4ba14ee2b625df40fa1
net/bnxt: dump SFP module info

Add support to fetch the SFP EEPROM settings from the firmware.
For SFP+ modules we will display 0xA0 page for status and 0xA2 page
for other information. For QSFP modules we will show the 0xA0 page.

Also identify the module types for QSFP28, QSFP, QSFP+ apart
from the SFP modules and return an error for 10GBase-T PHY.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
doc/guides/nics/features/bnxt.ini
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_hwrm.h
drivers/net/bnxt/hsi_struct_def_dpdk.h