Example of CAM Configuration Debug - 2025.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Release Date
2025-05-29
Version
2025.1 English

debug_flag = CAM_DEBUG_ARGS | CAM_DEBUG_CONFIG | CAM_DEBUG_CONFIG_ARGS

debug_flags = 0x2042

Before a CAM Configuration API call, set the debug flags in the VNP4 drivers:

void XilVitisNetP4CamSetDebugFlags(uint32_t flags)

or via the CAM driver directly:

void cam_arg_set_debug_flags(cam_arg_t *cam_arg, uint32_t debug_flags);

Ensure that you set the debug_flags back to zero when finished debugging the configuration.