ASAP2 offload header rewrite actions

Hi, I am wondering about the paragraph in the ASAP2 documentation (link).

image

What is the meaning of the following statement?: If header rewrite is used, then all destinations should have the same header rewrite

Let’s assume the below ovs table with the packet whose dl_src is “11:11:11:11:11:11”.

table=0,priority=100,actions="resubmit(,10)",mod_dl_src:"11:22:33:44:55:66",output:"port1"
table=10,priority=100,actions=output:"port2"

In this case, which one is the expected result?

port1 will get a packet whose source MAC address is “11:22:33:44:55:66” and
port2 will get a packet whose source MAC address is “11:11:11:11:11:11”

both port 1 and port 2 will get a packet whose source MAC address is “11:22:33:44:55:66”

The above scenario is about ovs action resubmit and mod_dl_src. It’s better to check the ovs-related document to find out mod_dl_src happens before or after resubmitting.

“If header rewrite is used, then all destinations should have the same header rewrite” mentioned in the OFED document is about port mirroring. More port mirroring information can be found on the same link page.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.