]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2: Add pcifunc also to mailbox tracepoints
authorSubbaraya Sundeep <sbhatta@marvell.com>
Tue, 13 May 2025 11:40:07 +0000 (17:10 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 15 May 2025 11:25:16 +0000 (13:25 +0200)
commit27d27a06b48e0781fd9e207646eba0e14ee0e439
tree9c45ecc3c33a0209a00900e1048e6e3b0f80b29b
parentba7b63670312d4ad2ce5e4d43652c6b38d3fb56f
octeontx2: Add pcifunc also to mailbox tracepoints

This patch adds pcifunc which represents PF and VF device to the
tracepoints otx2_msg_alloc, otx2_msg_send, otx2_msg_process so that
it is easier to correlate which device allocated the message, which
device forwarded it and which device processed that message.
Also add message id in otx2_msg_send tracepoint to check which
message is sent at any point of time from a device.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1747136408-30685-4-git-send-email-sbhatta@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/af/mbox.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c