Intel® Ethernet Controller E810 eSwitch Switchdev Mode
Technology and Configuration Guide
Mirroring using TC
- The following configuration can be used to mirror traffic of VF to the specified VF on the same PF.
tc filter add dev <DEV> ingress flower [skip_sw | skip_hw] action mirred egress mirror dev <DEV>} - Verify the offloaded flow in hardware using the following command:
tc filter show dev <DEV> ingress
For example:
# tc filter show dev ens2f0np0 ingress filter protocol all pref 49152 flower chain 0 filter protocol all pref 49152 flower chain 0 handle 0x1 skip_sw in_hw in_hw_count 1 action order 1: mirred (Egress Mirror to device eth1) pipe index 1 ref 1 bind 1