Sorry, the question is the following. In output_queues module, there are 8 queues, 0,2,4,6 queues are used for mac interface while 1,3,5,7 queues are used for cpu queues. In switch project, I want to add 4 additional queues as input queues for mac interface. And I find the 1,3,5,7 queues of output_queues module are not used in switch project, so I use these 1,3,5,7 queues as input queues. I changed the code of remove_pkt.v to get packets from 0,2,4,6 queues of output queues instead of from 0,1,2,3,4,5,6,7 output queues. When a packet of in_data_0 go into user_data_path its destination_port will be changed as 1, and in_data_2 packet will be 3 destination port, and so on, so that input_queues can put these packets into 1,3,5,7 queues.
All the codes are compiled successfully, but the NetFPGA switch does not transport any packet, and I find debugging this problem is so hard. Any advice is very welcomed.