mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Ratheesh Kannoth 5eb1b72209 octeontx2-af: Skip PFs if not enabled
Firmware enables PFs and allocate mbox resources for each of the PFs.
Currently PF driver configures mbox resources without checking whether
PF is enabled or not. This results in crash. This patch fixes this issue
by skipping disabled PF's mbox initialization.

Fixes: 9bdc47a6e3 ("octeontx2-af: Mbox communication support btw AF and it's VFs")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-03 09:02:59 +01:00
..
cgx_fw_if.h octeontx2-af: Limit link bringup time at firmware 2022-07-13 20:17:29 -07:00
cgx.c octeontx2-af: Add validation for lmac type 2023-05-03 09:02:59 +01:00
cgx.h octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable 2023-01-06 19:34:14 -08:00
common.h octeontx2-af: Hardware configuration for inline IPsec 2021-09-16 14:37:38 +01:00
lmac_common.h octeontx2-af: Add FEC stats for RPM/RPM_USX block 2022-12-07 12:24:29 +01:00
Makefile octeontx2-af: cn10k: Introduce driver for macsec block. 2022-10-03 12:50:18 +01:00
mbox.c octeontx2-af: Skip PFs if not enabled 2023-05-03 09:02:59 +01:00
mbox.h octeontx2-af: Skip PFs if not enabled 2023-05-03 09:02:59 +01:00
mcs_cnf10kb.c octeontx2-af: mcs: Fix MCS block interrupt 2023-04-27 12:38:11 +02:00
mcs_reg.h octeontx2-af: mcs: Fix MCS block interrupt 2023-04-27 12:38:11 +02:00
mcs_rvu_if.c octeontx2-af: mcs: Config parser to skip 8B header 2023-04-27 12:38:11 +02:00
mcs.c octeontx2-af: mcs: Fix MCS block interrupt 2023-04-27 12:38:11 +02:00
mcs.h octeontx2-af: mcs: Fix MCS block interrupt 2023-04-27 12:38:11 +02:00
npc_profile.h octeontx2-af: Enable Exact match flag in kex profile 2022-07-11 10:52:14 -07:00
npc.h octeontx2-pf: Add support to filter packet based on IP fragment 2022-11-28 11:06:23 +00:00
ptp.c octeontx2-af: Initialize PTP_SEC_ROLLOVER register properly 2022-09-17 20:13:41 +01:00
ptp.h octeontx2-af: Add PTP PPS Errata workaround on CN10K silicon 2022-09-17 20:13:41 +01:00
rpm.c octeontx2-af: Add FEC stats for RPM/RPM_USX block 2022-12-07 12:24:29 +01:00
rpm.h octeontx2-af: Add FEC stats for RPM/RPM_USX block 2022-12-07 12:24:29 +01:00
rvu_cgx.c octeontx2-af: mcs: Config parser to skip 8B header 2023-04-27 12:38:11 +02:00
rvu_cn10k.c octeontx2-af: Secure APR table update with the lock 2023-05-03 09:02:59 +01:00
rvu_cpt.c octeontx2-af: add mbox to return CPT_AF_FLT_INT info 2023-01-20 08:37:10 -08:00
rvu_debugfs.c octeonxt2-af: mcs: Fix per port bypass config 2023-04-27 12:38:10 +02:00
rvu_devlink.c octeontx2-af: Fix devlink unregister 2023-02-01 21:22:41 -08:00
rvu_devlink.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_nix.c octeontx2-af: Unlock contexts in the queue context cache in case of fault detection 2023-03-08 13:06:32 +00:00
rvu_npa.c octeontx2-af: Unlock contexts in the queue context cache in case of fault detection 2023-03-08 13:06:32 +00:00
rvu_npc_fs.c octeontx2-af: Fix issues with NPC field hash extract 2023-05-03 09:02:59 +01:00
rvu_npc_fs.h octeontx2-af: Fix issues with NPC field hash extract 2023-05-03 09:02:59 +01:00
rvu_npc_hash.c octeontx2-af: Fix issues with NPC field hash extract 2023-05-03 09:02:59 +01:00
rvu_npc_hash.h octeontx2-af: Fix issues with NPC field hash extract 2023-05-03 09:02:59 +01:00
rvu_npc.c octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules 2022-11-22 09:39:25 +01:00
rvu_reg.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_reg.h octeontx2-af: Unlock contexts in the queue context cache in case of fault detection 2023-03-08 13:06:32 +00:00
rvu_sdp.c octeontx2-af: Fix reference count issue in rvu_sdp_init() 2022-11-24 10:01:42 +01:00
rvu_struct.h octeontx2-af: Enable CPT HW interrupts 2021-10-14 20:01:06 -07:00
rvu_switch.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_trace.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_trace.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu.c octeontx2-af: Skip PFs if not enabled 2023-05-03 09:02:59 +01:00
rvu.h octeontx2-af: mcs: Config parser to skip 8B header 2023-04-27 12:38:11 +02:00