I’m trying to use the copy function of doca flow. The official has a sample using u32[0]. field_string is meta.data, and bit_offset is META_U32_BIT_OFFSET(0). So, may I ask how to use the field “meta.pkt_meta”? According to the official documentation, this can also be used for copy. What are its field_string and bit_offset?
Hi,
You can refer UM bellow, if you have any more questions, please open a support ticket.
Thanks,
Suo
Thank you. I have solved this problem, but I have encountered a new one.
I’m trying to use the meta field of u32. First, I assign a value to u32[3], and then use DOCA_FLOW_ACTION_COPY to copy some bits of u32[3] to the specified bits of u32[0]. However, I found that if I assign 0 to u32[3], it doesn’t take effect but retains the original value. May I ask if there is any way to solve this? How can I set the meta field to 0?
Hi Please open a SF ticket.
Thanks,
Suo

