Lines Matching refs:fmsg
17 static void rvu_report_pair_start(struct devlink_fmsg *fmsg, const char *name) in rvu_report_pair_start() argument
19 devlink_fmsg_pair_nest_start(fmsg, name); in rvu_report_pair_start()
20 devlink_fmsg_obj_nest_start(fmsg); in rvu_report_pair_start()
23 static void rvu_report_pair_end(struct devlink_fmsg *fmsg) in rvu_report_pair_end() argument
25 devlink_fmsg_obj_nest_end(fmsg); in rvu_report_pair_end()
26 devlink_fmsg_pair_nest_end(fmsg); in rvu_report_pair_end()
272 static int rvu_nix_report_show(struct devlink_fmsg *fmsg, void *ctx, in rvu_nix_report_show() argument
282 rvu_report_pair_start(fmsg, "NIX_AF_RVU"); in rvu_nix_report_show()
283 devlink_fmsg_u64_pair_put(fmsg, "\tNIX RVU Interrupt Reg ", in rvu_nix_report_show()
286 devlink_fmsg_string_put(fmsg, "\n\tUnmap Slot Error"); in rvu_nix_report_show()
287 rvu_report_pair_end(fmsg); in rvu_nix_report_show()
291 rvu_report_pair_start(fmsg, "NIX_AF_GENERAL"); in rvu_nix_report_show()
292 devlink_fmsg_u64_pair_put(fmsg, "\tNIX General Interrupt Reg ", in rvu_nix_report_show()
295 devlink_fmsg_string_put(fmsg, "\n\tRx multicast pkt drop"); in rvu_nix_report_show()
297 devlink_fmsg_string_put(fmsg, "\n\tRx mirror pkt drop"); in rvu_nix_report_show()
299 devlink_fmsg_string_put(fmsg, "\n\tSMQ flush done"); in rvu_nix_report_show()
300 rvu_report_pair_end(fmsg); in rvu_nix_report_show()
304 rvu_report_pair_start(fmsg, "NIX_AF_ERR"); in rvu_nix_report_show()
305 devlink_fmsg_u64_pair_put(fmsg, "\tNIX Error Interrupt Reg ", in rvu_nix_report_show()
308 devlink_fmsg_string_put(fmsg, "\n\tFault on NIX_AQ_INST_S read"); in rvu_nix_report_show()
310 devlink_fmsg_string_put(fmsg, "\n\tFault on NIX_AQ_RES_S write"); in rvu_nix_report_show()
312 devlink_fmsg_string_put(fmsg, "\n\tAQ Doorbell Error"); in rvu_nix_report_show()
314 devlink_fmsg_string_put(fmsg, "\n\tRx on unmapped PF_FUNC"); in rvu_nix_report_show()
316 devlink_fmsg_string_put(fmsg, "\n\tRx multicast replication error"); in rvu_nix_report_show()
318 devlink_fmsg_string_put(fmsg, "\n\tFault on NIX_RX_MCE_S read"); in rvu_nix_report_show()
320 devlink_fmsg_string_put(fmsg, "\n\tFault on multicast WQE read"); in rvu_nix_report_show()
322 devlink_fmsg_string_put(fmsg, "\n\tFault on mirror WQE read"); in rvu_nix_report_show()
324 devlink_fmsg_string_put(fmsg, "\n\tFault on mirror pkt write"); in rvu_nix_report_show()
326 devlink_fmsg_string_put(fmsg, "\n\tFault on multicast pkt write"); in rvu_nix_report_show()
327 rvu_report_pair_end(fmsg); in rvu_nix_report_show()
331 rvu_report_pair_start(fmsg, "NIX_AF_RAS"); in rvu_nix_report_show()
332 devlink_fmsg_u64_pair_put(fmsg, "\tNIX RAS Interrupt Reg ", in rvu_nix_report_show()
334 devlink_fmsg_string_put(fmsg, "\n\tPoison Data on:"); in rvu_nix_report_show()
336 devlink_fmsg_string_put(fmsg, "\n\tNIX_AQ_INST_S"); in rvu_nix_report_show()
338 devlink_fmsg_string_put(fmsg, "\n\tNIX_AQ_RES_S"); in rvu_nix_report_show()
340 devlink_fmsg_string_put(fmsg, "\n\tHW ctx"); in rvu_nix_report_show()
342 devlink_fmsg_string_put(fmsg, "\n\tPacket from mirror buffer"); in rvu_nix_report_show()
344 devlink_fmsg_string_put(fmsg, "\n\tPacket from multicast buffer"); in rvu_nix_report_show()
346 devlink_fmsg_string_put(fmsg, "\n\tWQE read from mirror buffer"); in rvu_nix_report_show()
348 devlink_fmsg_string_put(fmsg, "\n\tWQE read from multicast buffer"); in rvu_nix_report_show()
350 devlink_fmsg_string_put(fmsg, "\n\tNIX_RX_MCE_S read"); in rvu_nix_report_show()
351 rvu_report_pair_end(fmsg); in rvu_nix_report_show()
361 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_nix_intr_dump() argument
370 return ctx ? rvu_nix_report_show(fmsg, ctx, NIX_AF_RVU_INTR) : in rvu_hw_nix_intr_dump()
371 rvu_nix_report_show(fmsg, nix_ctx, NIX_AF_RVU_INTR); in rvu_hw_nix_intr_dump()
392 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_nix_gen_dump() argument
401 return ctx ? rvu_nix_report_show(fmsg, ctx, NIX_AF_RVU_GEN) : in rvu_hw_nix_gen_dump()
402 rvu_nix_report_show(fmsg, nix_ctx, NIX_AF_RVU_GEN); in rvu_hw_nix_gen_dump()
423 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_nix_err_dump() argument
432 return ctx ? rvu_nix_report_show(fmsg, ctx, NIX_AF_RVU_ERR) : in rvu_hw_nix_err_dump()
433 rvu_nix_report_show(fmsg, nix_ctx, NIX_AF_RVU_ERR); in rvu_hw_nix_err_dump()
454 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_nix_ras_dump() argument
463 return ctx ? rvu_nix_report_show(fmsg, ctx, NIX_AF_RVU_RAS) : in rvu_hw_nix_ras_dump()
464 rvu_nix_report_show(fmsg, nix_ctx, NIX_AF_RVU_RAS); in rvu_hw_nix_ras_dump()
812 static int rvu_npa_report_show(struct devlink_fmsg *fmsg, void *ctx, in rvu_npa_report_show() argument
823 rvu_report_pair_start(fmsg, "NPA_AF_GENERAL"); in rvu_npa_report_show()
824 devlink_fmsg_u64_pair_put(fmsg, "\tNPA General Interrupt Reg ", in rvu_npa_report_show()
827 devlink_fmsg_string_put(fmsg, "\n\tUnmap PF Error"); in rvu_npa_report_show()
831 devlink_fmsg_string_put(fmsg, "\n\tNIX0: free disabled RX"); in rvu_npa_report_show()
833 devlink_fmsg_string_put(fmsg, "\n\tNIX0:free disabled TX"); in rvu_npa_report_show()
835 devlink_fmsg_string_put(fmsg, "\n\tNIX1: free disabled RX"); in rvu_npa_report_show()
837 devlink_fmsg_string_put(fmsg, "\n\tNIX1:free disabled TX"); in rvu_npa_report_show()
839 devlink_fmsg_string_put(fmsg, "\n\tFree Disabled for SSO"); in rvu_npa_report_show()
841 devlink_fmsg_string_put(fmsg, "\n\tFree Disabled for TIM"); in rvu_npa_report_show()
843 devlink_fmsg_string_put(fmsg, "\n\tFree Disabled for DPI"); in rvu_npa_report_show()
845 devlink_fmsg_string_put(fmsg, "\n\tFree Disabled for AURA"); in rvu_npa_report_show()
849 devlink_fmsg_string_put(fmsg, "\n\tNIX0: alloc disabled RX"); in rvu_npa_report_show()
851 devlink_fmsg_string_put(fmsg, "\n\tNIX0:alloc disabled TX"); in rvu_npa_report_show()
853 devlink_fmsg_string_put(fmsg, "\n\tNIX1: alloc disabled RX"); in rvu_npa_report_show()
855 devlink_fmsg_string_put(fmsg, "\n\tNIX1:alloc disabled TX"); in rvu_npa_report_show()
857 devlink_fmsg_string_put(fmsg, "\n\tAlloc Disabled for SSO"); in rvu_npa_report_show()
859 devlink_fmsg_string_put(fmsg, "\n\tAlloc Disabled for TIM"); in rvu_npa_report_show()
861 devlink_fmsg_string_put(fmsg, "\n\tAlloc Disabled for DPI"); in rvu_npa_report_show()
863 devlink_fmsg_string_put(fmsg, "\n\tAlloc Disabled for AURA"); in rvu_npa_report_show()
865 rvu_report_pair_end(fmsg); in rvu_npa_report_show()
868 rvu_report_pair_start(fmsg, "NPA_AF_ERR"); in rvu_npa_report_show()
869 devlink_fmsg_u64_pair_put(fmsg, "\tNPA Error Interrupt Reg ", in rvu_npa_report_show()
872 devlink_fmsg_string_put(fmsg, "\n\tFault on NPA_AQ_INST_S read"); in rvu_npa_report_show()
874 devlink_fmsg_string_put(fmsg, "\n\tFault on NPA_AQ_RES_S write"); in rvu_npa_report_show()
876 devlink_fmsg_string_put(fmsg, "\n\tAQ Doorbell Error"); in rvu_npa_report_show()
877 rvu_report_pair_end(fmsg); in rvu_npa_report_show()
880 rvu_report_pair_start(fmsg, "NPA_AF_RVU_RAS"); in rvu_npa_report_show()
881 devlink_fmsg_u64_pair_put(fmsg, "\tNPA RAS Interrupt Reg ", in rvu_npa_report_show()
884 devlink_fmsg_string_put(fmsg, "\n\tPoison data on NPA_AQ_INST_S"); in rvu_npa_report_show()
886 devlink_fmsg_string_put(fmsg, "\n\tPoison data on NPA_AQ_RES_S"); in rvu_npa_report_show()
888 devlink_fmsg_string_put(fmsg, "\n\tPoison data on HW context"); in rvu_npa_report_show()
889 rvu_report_pair_end(fmsg); in rvu_npa_report_show()
892 rvu_report_pair_start(fmsg, "NPA_AF_RVU"); in rvu_npa_report_show()
893 devlink_fmsg_u64_pair_put(fmsg, "\tNPA RVU Interrupt Reg ", in rvu_npa_report_show()
896 devlink_fmsg_string_put(fmsg, "\n\tUnmap Slot Error"); in rvu_npa_report_show()
897 rvu_report_pair_end(fmsg); in rvu_npa_report_show()
907 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_npa_intr_dump() argument
916 return ctx ? rvu_npa_report_show(fmsg, ctx, NPA_AF_RVU_INTR) : in rvu_hw_npa_intr_dump()
917 rvu_npa_report_show(fmsg, npa_ctx, NPA_AF_RVU_INTR); in rvu_hw_npa_intr_dump()
938 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_npa_gen_dump() argument
947 return ctx ? rvu_npa_report_show(fmsg, ctx, NPA_AF_RVU_GEN) : in rvu_hw_npa_gen_dump()
948 rvu_npa_report_show(fmsg, npa_ctx, NPA_AF_RVU_GEN); in rvu_hw_npa_gen_dump()
969 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_npa_err_dump() argument
978 return ctx ? rvu_npa_report_show(fmsg, ctx, NPA_AF_RVU_ERR) : in rvu_hw_npa_err_dump()
979 rvu_npa_report_show(fmsg, npa_ctx, NPA_AF_RVU_ERR); in rvu_hw_npa_err_dump()
1000 struct devlink_fmsg *fmsg, void *ctx, in rvu_hw_npa_ras_dump() argument
1009 return ctx ? rvu_npa_report_show(fmsg, ctx, NPA_AF_RVU_RAS) : in rvu_hw_npa_ras_dump()
1010 rvu_npa_report_show(fmsg, npa_ctx, NPA_AF_RVU_RAS); in rvu_hw_npa_ras_dump()