mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
octeontx2-af: npc: Log successful MCAM drop-on-non-hit install at debug level
npc_install_mcam_drop_rule() used dev_err() after a successful
rvu_mbox_handler_npc_mcam_write_entry() call, so normal installs appeared
as errors in dmesg. Use dev_dbg() for the success path and keep dev_err()
for real failures.
Fixes: 3571fe07a0 ("octeontx2-af: Drop rules for NPC MCAM")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260615033157.535237-1-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a056db30de
commit
4f6ac65e81
|
|
@ -2225,7 +2225,7 @@ int npc_install_mcam_drop_rule(struct rvu *rvu, int mcam_idx, u16 *counter_idx,
|
|||
return err;
|
||||
}
|
||||
|
||||
dev_err(rvu->dev,
|
||||
dev_dbg(rvu->dev,
|
||||
"%s: Installed single drop on non hit rule at %d, cntr=%d\n",
|
||||
__func__, mcam_idx, req.cntr);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user