Open guimvmatos opened 4 years ago
Hi, I have been trapped with this problem too, have you solved this problem now?
Hi, I have been trapped with this problem too, have you solved this problem now?
HI @happyPisces,
I haven't solve it yet, but I discover that If I comment on one of the lines below, it works. I don't know why this is happening.
srv6_t_insert_2
srv6_t_insert_3
Tell me if it works for you. And if you find out the cause of this behavior, please, tell me too.
HI @guimvmatos , Thanks. If I find out something, I will tell you.
We solved the problem by fixing our command.txt, The wrong command.txt is as follows: table_cam_add_entry forward set_output_port 0b0000 => 0b00000001 table_cam_add_entry forward set_to_cpu 0b0001 =>
The correct command.txt is as follows: table_cam_add_entry forward set_output_port 0b0000 => 0b00000001 table_cam_add_entry forward set_to_cpu 0b0001 => 0b00000010
I think the number of ancitons in command.txt should match the number of acrtions in table, So you should add one more tcam entry whose action is srv6_t_insert_3, or you can circumvent this problem by commenting srv6_t_insert_3 in your table just as you did before.
This problem i have solved. You should add some zero in your commands.txt. For table teid_exact, actually it has five parameters and their order is fixed. i.e. table_cam_add_entry teid_exact insert_srv6_list_2 0x20010001000000000000000000000002 => 0x00A10000000000000000000000000002 0x20010001000000000000000000000002 0 0 0
i.e. table_cam_add_entry teid_exact insert_srv6_list_3 0x20010001000000000000000000000002 => 0 0 0x00A10000000000000000000000000002 0x00A10000000000000000000000000006 0x20010001000000000000000000000002
Hi,
I'm trying to add an entry on a ternary table, but i'm getting this error:
ERROR: not enough fields provided to complete _hexify()
But, I think I'm doing everything right. Can anybody tell me what's wrong?
I'm using
python sw/CLI/P4_SWITCH_CLI.py
to add entries. I've tryed with the lines below:This is my table:
And my action:
The TEID field has 32 bits lenght