kernel_samsung_a53x/drivers/net/ethernet/marvell/octeontx2/af
Felix Manlunas 511cc9bd40 octeontx2-af: Add new CGX_CMD to get PHY FEC statistics
[ Upstream commit bd74d4ea29cc3c0520d9af109bb7a7c769325746 ]

This patch adds support to fetch fec stats from PHY. The stats are
put in the shared data struct fwdata.  A PHY driver indicates
that it has FEC stats by setting the flag fwdata.phy.misc.has_fec_stats

Besides CGX_CMD_GET_PHY_FEC_STATS, also add CGX_CMD_PRBS and
CGX_CMD_DISPLAY_EYE to enum cgx_cmd_id so that Linux's enum list is in sync
with firmware's enum list.

Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: e26f8eac6bb2 ("octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:05 +01:00
..
cgx.c octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
cgx.h octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
cgx_fw_if.h octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
common.h
Makefile
mbox.c
mbox.h octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
npc.h octeontx2-af: fix detection of IP layer 2024-11-19 14:19:44 +01:00
npc_profile.h
ptp.c
ptp.h
rvu.c octeontx2-af: Mbox changes for 98xx 2024-12-17 13:24:05 +01:00
rvu.h octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
rvu_cgx.c octeontx2-af: Add new CGX_CMD to get PHY FEC statistics 2024-12-17 13:24:05 +01:00
rvu_debugfs.c
rvu_nix.c octeontx2-af: Mbox changes for 98xx 2024-12-17 13:24:05 +01:00
rvu_npa.c
rvu_npc.c
rvu_reg.c octeontx2-af: Mbox changes for 98xx 2024-12-17 13:24:05 +01:00
rvu_reg.h
rvu_struct.h octeontx2-af: Mbox changes for 98xx 2024-12-17 13:24:05 +01:00
rvu_trace.c
rvu_trace.h