mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Geetha sowjanya ac059d1644 octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces
Currently PKINDs are not assigned to LBK channels.
The default value of LBK_CHX_PKIND (channel to PKIND mapping) register
is zero, which is resulting in a overlap of pkind between LBK and CGX
LMACs. When KPU1 parser config is modified when PTP timestamping is
enabled on the CGX LMAC interface it is impacting traffic on LBK
interfaces as well.

This patch fixes the issue by reserving the PKIND#0 for LBK devices.
CGX mapped PF pkind starts from 1 and also fixes the max pkind available.

Fixes: 421572175b ("octeontx2-af: Support to enable/disable HW timestamping")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-25 09:25:03 +01:00
..
cgx_fw_if.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
cgx.c octeontx2-af: Debugfs support for DMAC filters 2021-07-01 13:02:38 -07:00
cgx.h octeontx2-af: Debugfs support for DMAC filters 2021-07-01 13:02:38 -07:00
common.h octeontx2-af: add support for multicast/promisc packet replication feature 2021-06-11 13:21:11 -07:00
lmac_common.h octeontx2-af: DMAC filter support in MAC block 2021-07-01 13:02:38 -07:00
Makefile octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
mbox.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
mbox.h octeontx2-af: DMAC filter support in MAC block 2021-07-01 13:02:38 -07:00
npc_profile.h octeontx2-af: Update the default KPU profile and fixes 2021-05-29 14:16:22 -07:00
npc.h octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces 2021-07-25 09:25:03 +01:00
ptp.c octeontx2-af: cn10k: Add mbox support for CN10K platform 2021-02-11 14:55:03 -08:00
ptp.h octeontx2-af: Add support for Marvell PTP coprocessor 2020-08-24 18:15:45 -07:00
rpm.c octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rpm.h octeontx2-af: cn10k: MAC internal loopback support 2021-02-11 14:55:04 -08:00
rvu_cgx.c octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
rvu_cn10k.c octeontx2-af: cn10k: Support configurable LMTST regions 2021-07-01 11:27:57 -07:00
rvu_cpt.c octeontx2-af: Add mailbox for CPT stats 2021-04-21 10:23:17 -07:00
rvu_debugfs.c octeontx2-af: Prepare for allocating MCAM rules for AF 2021-07-19 10:24:25 -07:00
rvu_devlink.c octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
rvu_devlink.h octeontx2-af: Add devlink health reporters for NIX 2021-01-21 11:57:51 -08:00
rvu_nix.c octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces 2021-07-25 09:25:03 +01:00
rvu_npa.c net: marvell: octeontx2: simplify the return expression of rvu_npa_init() 2020-12-09 17:05:36 -08:00
rvu_npc_fs.c octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00
rvu_npc.c octeontx2-af: Fix PKIND overlap between LBK and LMAC interfaces 2021-07-25 09:25:03 +01:00
rvu_reg.c octeontx2-af: Mbox changes for 98xx 2020-10-31 14:16:47 -07:00
rvu_reg.h octeontx2-af: cn10k: Support configurable LMTST regions 2021-07-01 11:27:57 -07:00
rvu_struct.h octeontx2-af: cn10k: Setting up lmtst map table 2021-07-01 11:27:57 -07:00
rvu_switch.c octeontx2-af: Fix uninitialized variables in rvu_switch 2021-07-23 17:43:31 +01:00
rvu_trace.c octeontx2-af: Introduce tracepoints for mailbox 2020-09-23 17:35:26 -07:00
rvu_trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00
rvu.c octeontx2-af: Fix uninitialized variables in rvu_switch 2021-07-23 17:43:31 +01:00
rvu.h octeontx2-af: Introduce internal packet switching 2021-07-19 10:24:25 -07:00