On Thu, 3 Sep 2020 12:48:16 +0530 sundeep.l...@gmail.com wrote: > From: Subbaraya Sundeep <sbha...@marvell.com> > > This patchset adds tracepoints support for mailbox. > In Octeontx2, PFs and VFs need to communicate with AF > for allocating and freeing resources. Once all the > configuration is done by AF for a PF/VF then packet I/O > can happen on PF/VF queues. When an interface > is brought up many mailbox messages are sent > to AF for initializing queues. Say a VF is brought up > then each message is sent to PF and PF forwards to > AF and response also traverses from AF to PF and then VF. > To aid debugging, tracepoints are added at places where > messages are allocated, sent and message interrupts. > Below is the trace of one of the messages from VF to AF > and AF response back to VF:
Could you use the devlink tracepoint? trace_devlink_hwmsg() ?