Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odp-util: Fix output for tc to be equal to kernel.
When the same flow is programmed in the kernel and tc, they look different due to the way they are translated. They take the userspace approach by always including the packet type attribute. To make the outputs the same, show the ethernet header when the packet type is wildcarded, and not printed. So without the fix the kernel would show (ovs-appctl dpctl/dump-flows): in_port(3),eth(),eth_type(0x0800),ipv4(frag=no), ..., actions:output Where as TC would show: in_port(3),eth_type(0x0800),ipv4(frag=no), ..., actions:output Signed-off-by: Eelco Chaudron <[email protected]> Acked-by: Roi Dayan <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information