mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2/af
Geetha sowjanya 29fe7a1b62 octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
The smq value used in the CN10K NIX AQ instruction enqueue mailbox
handler was truncated to 9-bit value from 10-bit value because of
typecasting the CN10K mbox request structure to the CN9K structure.
Though this hasn't caused any problems when programming the NIX SQ
context to the HW because the context structure is the same size.
However, this causes a problem when accessing the structure parameters.
This patch reads the right smq value for each platform.

Fixes: 30077d210c ("octeontx2-af: cn10k: Update NIX/NPA context structure")
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>
2023-09-05 17:50:33 +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 of lmac 2023-08-28 10:05:56 +01:00
cgx.h octeontx2-af: CN10KB: Add USGMII LMAC mode 2023-08-28 10:05:55 +01:00
common.h octeontx2-af: cn10k: Set NIX DWRR MTU for CN10KB silicon 2023-06-13 09:54:57 +01:00
lmac_common.h octeontx2-af: Reset MAC features in FLR 2023-07-02 15:47:19 +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-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +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-af: TC flower offload support for inner VLAN 2023-08-07 19:15:59 -07:00
ptp.c octeontx2-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +01:00
ptp.h octeontx2-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +01:00
rpm.c octeontx2-af: CN10KB: fix PFC configuration 2023-08-25 18:48:39 -07:00
rpm.h octeontx2-af: Reset MAC features in FLR 2023-07-02 15:47:19 +01:00
rvu_cgx.c octeontx2-af: print error message incase of invalid pf mapping 2023-08-28 10:05:56 +01: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 octeontx2-af: TC flower offload support for inner VLAN 2023-08-07 19:15:59 -07:00
rvu_devlink.c octeontx2-af: cn10k: Set NIX DWRR MTU for CN10KB silicon 2023-06-13 09:54:57 +01:00
rvu_devlink.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_nix.c octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler 2023-09-05 17:50:33 +01: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: Harden rule validation. 2023-08-11 09:23:21 +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: Remove redundant functions rvu_npc_exact_mac2u64() 2023-08-09 15:29:44 -07:00
rvu_npc_hash.h octeontx2-af: Fix hash extraction enable configuration 2023-07-25 10:12:26 +02: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: cn10k: Set NIX DWRR MTU for CN10KB silicon 2023-06-13 09:54:57 +01: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: Install TC filter rules in hardware based on priority 2023-07-25 09:44:19 +02: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-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +01:00
rvu.h octeontx2-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +01:00