[Error debug] PHV allocation was not successful

Dear @HangHu,

Welcome to the forum! I

You can find a lot of useful information on this forum, especially if you use its search function ( :mag:). For example, a simple search on the “tofino” keyword will immediately produce this post , which contains the necessary recommendations.

Also, if you you haven’t done it already, I’d highly recommend you attend Intel Connectivity Academy by P4ica courses.

Happy hacking,
Vladimir