[ovs-dev] [PATCH ovs V5 00/24] Introducing HW offload support for openvswitch

Roi Dayan roid at mellanox.com
Wed Mar 29 11:50:07 UTC 2017



On 23/03/2017 09:01, Joe Stringer wrote:
> I ran the make check-offloads tests on a recent net-next kernel and it
> failed, output was not as expected:
>
> ../../tests/system-offloaded-traffic.at:54
> <http://system-offloaded-traffic.at:54>: ovs-appctl dpctl/dump-flows |
> grep "eth_type(0x0800)" | sed -e
> 's/used:[0-9].[0-9]*s/used:0.001s/;s/eth(src=[a-z0-9:]*,dst=[a-z0-9:]*)/eth(mac
> s)/;s/actions:[0-9,]*/actions:output/;s/recirc_id(0),//' | sort
> --- - 2017-03-22 16:43:37.598689692 -0700
> +++
> /home/vagrant/ovs/_build-clang/tests/system-offloads-testsuite.dir/at-groups/2/stdout
> 2017-03-22 16:43:37.595628000 -0700
> @@ -1,3 +1,3 @@
> -in_port(2),eth(macs),eth_type(0x0800), packets:9, bytes:756,
> used:0.001s, actions:output
> -in_port(3),eth(macs),eth_type(0x0800), packets:9, bytes:756,
> used:0.001s, actions:output
> +in_port(2),eth(macs),eth_type(0x0800),ipv4(frag=no), packets:9,
> bytes:882, used:0.001s, actions:output
> +in_port(3),eth(macs),eth_type(0x0800),ipv4(frag=no), packets:9,
> bytes:882, used:0.001s, actions:output
>

Hi Joe,

can you tell me what kernel you used here?
maybe tc offloads were not supported and there was a fallback to OVS dp.

Thanks,
Roi


More information about the dev mailing list