Commit ba7b6367 authored by Subbaraya Sundeep's avatar Subbaraya Sundeep Committed by Paolo Abeni
Browse files

octeontx2-af: Display names for CPT and UP messages



Mailbox UP messages and CPT messages names are not being
displayed with their names in trace log files. Add those
messages too in otx2_mbox_id2name.

Signed-off-by: default avatarSubbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1747136408-30685-3-git-send-email-sbhatta@marvell.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent aa2263b3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -444,6 +444,14 @@ const char *otx2_mbox_id2name(u16 id)
#define M(_name, _id, _1, _2, _3) case _id: return # _name;
	MBOX_MESSAGES
#undef M

#define M(_name, _id, _1, _2, _3) case _id: return # _name;
	MBOX_UP_CGX_MESSAGES
#undef M

#define M(_name, _id, _1, _2, _3) case _id: return # _name;
	MBOX_UP_CPT_MESSAGES
#undef M
	default:
		return "INVALID ID";
	}