[ovs-discuss] how to check if OVS offload is working properly?

Manuel Sopena Ballesteros manuel.sb at garvan.org.au
Thu Mar 14 22:53:54 UTC 2019


Dear OVS community,


I apologise for my ignorance but I am just a beginner in OVS. I have a server with  Mellanox ConnectX-4 Lx and I would like to setup OVS offloading.

I followed the Mellanox documentation (https://www.mellanox.com/related-docs/prod_software/ASAP2_Hardware_Offloading_for_vSwitches_User_Manual_v4.4.pdf) and ping between 2 vms living in the same host is successful.

[root at zeus-54 ~]# ovs-dpctl dump-flows
2019-03-14T22:45:11Z|00001|dpif_netlink|INFO|The kernel module does not support meters.
in_port(1),eth(src=50:6b:4b:89:77:2b,dst=01:80:c2:00:00:02),eth_type(0x8809), packets:1, bytes:124, used:5.510s, actions:drop
recirc_id(0),in_port(4),eth(src=fa:16:3e:9d:d6:ad,dst=fa:16:3e:9d:d6:ac),eth_type(0x0806), packets:1, bytes:60, used:17.673s, actions:5
recirc_id(0),in_port(4),eth(src=fa:16:3e:9d:d6:ad,dst=fa:16:3e:9d:d6:ac),eth_type(0x0800),ipv4(frag=no), packets:72836, bytes:7137928, used:0.689s, actions:5
recirc_id(0),in_port(5),eth(src=fa:16:3e:9d:d6:ac,dst=fa:16:3e:9d:d6:ad),eth_type(0x0800),ipv4(frag=no), packets:72836, bytes:7137928, used:0.689s, actions:4
recirc_id(0),in_port(5),eth(src=fa:16:3e:9d:d6:ac,dst=fa:16:3e:9d:d6:ad),eth_type(0x0806), packets:1, bytes:60, used:17.674s, actions:4

My physical host is running:
CentOS Linux release 7.5.1804 (Core)

VMs are running:
Fedora release 24 (Twenty Four)
NAME=Fedora
VERSION="24 (Cloud Edition)"
ID=fedora
VERSION_ID=24
PRETTY_NAME="Fedora 24 (Cloud Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:24"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=24
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=24
PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
VARIANT="Cloud Edition"
VARIANT_ID=cloud
Fedora release 24 (Twenty Four)
Fedora release 24 (Twenty Four)
[root at localhost ~]# uname -r
4.5.5-300.fc24.x86_64

However:
[root at zeus-54 ~]# ovs-dpctl dump-flows type=offloaded
2019-03-14T22:45:23Z|00001|dpif_netlink|INFO|The kernel module does not support meters.
in_port(1),eth(src=50:6b:4b:89:77:2b,dst=01:80:c2:00:00:02),eth_type(0x8809), packets:1, bytes:124, used:17.920s, actions:drop


Any idea why I can't see the offloaded packets?

Thank you very much
NOTICE
Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190314/71ad43c5/attachment.html>


More information about the discuss mailing list