![]() [ Upstream commit 84c4f9cab4f99e774a8d9bbee299d288bdb2d792 ] CGX block supports forward error correction modes baseR and RS. This patch adds support to set encoding mode and to read corrected/uncorrected block counters Adds new mailbox handlers set_fec to configure encoding modes and fec_stats to read counters and also increase mbox timeout to accomdate firmware command response timeout. Along with new CGX_CMD_SET_FEC command add other commands to sync with kernel enum list with firmware. 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> |
||
---|---|---|
.. | ||
cgx.c | ||
cgx.h | ||
cgx_fw_if.h | ||
common.h | ||
Makefile | ||
mbox.c | ||
mbox.h | ||
npc.h | ||
npc_profile.h | ||
ptp.c | ||
ptp.h | ||
rvu.c | ||
rvu.h | ||
rvu_cgx.c | ||
rvu_debugfs.c | ||
rvu_nix.c | ||
rvu_npa.c | ||
rvu_npc.c | ||
rvu_reg.c | ||
rvu_reg.h | ||
rvu_struct.h | ||
rvu_trace.c | ||
rvu_trace.h |