[ovs-dev] Vhostuser ports - Jumbo MTU issue

Kavanagh, Mark B mark.b.kavanagh at intel.com
Fri Jun 9 11:54:06 UTC 2017


>From: sai kiran [mailto:kiransaiv at gmail.com]
>Sent: Friday, June 9, 2017 12:41 PM
>To: Kavanagh, Mark B <mark.b.kavanagh at intel.com>
>Cc: ovs-dev at openvswitch.org
>Subject: Re: [ovs-dev] Vhostuser ports - Jumbo MTU issue
>
>Hi Mark,
>
>Like you suggested, rebuilding the database configuration with the command you mentioned
>solved the issue.

Glad to hear it ;)

>Thanks very much for your inputs.

Any time.

Cheers,
Mark

>
>Regards,
>Sai kiran
>
>On Thu, Jun 8, 2017 at 6:10 PM, Kavanagh, Mark B <mark.b.kavanagh at intel.com> wrote:
>
>
>>-----Original Message-----
>>From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-bounces at openvswitch.org] On Behalf Of
>>sai kiran
>>Sent: Thursday, June 8, 2017 5:59 AM
>>To: ovs-dev at openvswitch.org
>>Subject: [ovs-dev] Vhostuser ports - Jumbo MTU issue
>>
>>Hi,
>>
>>I am trying to use OVS with DPDK, using OVS (2.7.0) and DPDK 16.11.1
>>
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl -V
>>ovs-vsctl (Open vSwitch) 2.7.0
>>DB Schema 7.14.0
>>
>>
>>I have added a netdev datapath and vhost-user ports following the steps
>>mentioned in OVS manuals.
>>
>>$OVS_DIR/utilities/ovs-vsctl add-br ovs-br0 -- set bridge ovs-br0
>>datapath_type=netdev
>>$OVS_DIR/utilities/ovs-vsctl add-port ovs-br0 vhost-user1 -- set Interface
>>vhost-user1 type=dpdkvhostuser
>>$OVS_DIR/utilities/ovs-vsctl add-port ovs-br0 vhost-user2 -- set Interface
>>vhost-user2 type=dpdkvhostuser
>>
>>
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl show
>>13552504-fd97-41e0-8bd9-1d68d229aa61
>>    Bridge "ovs-br0"
>>        Port "vhost-user1"
>>            Interface "vhost-user1"
>>                type: dpdkvhostuser
>>        Port "vhost-user2"
>>            Interface "vhost-user2"
>>                type: dpdkvhostuser
>>        Port "ovs-br0"
>>            Interface "ovs-br0"
>>                type: internal
>>
>>
>>
>>Now, when I try to set MTU of the interface to 9000, it is not taking
>>effect.
>>
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl -- set Interface
>>vhost-user1 mtu_request=9000
>>2017-06-08T04:42:02Z|00002|ovsdb_idl|WARN|Interface table in Open_vSwitch
>>database lacks mtu_request column (database needs upgrade?)
>Hi Sai,
>
>From this error message, it appears that you're using an outdated OvS database - I suggest
>removing the existing database configuration, and rebuilding it:
>
>        sudo rm -rf /usr/local/etc/openvswitch/conf.db
>        sudo $OVS_DIR/ovsdb/ovsdb-tool create /usr/local/etc/openvswitch/conf.db
>$OVS_DIR/vswitchd/vswitch.ovsschema
>
>FWIW, I've tested this setup on OvS 2.7.0 with DPDK v16.11.1 and have been unable to
>reproduce the observed behavior.
>
>Thanks,
>Mark
>
>>ovs-vsctl: transaction error: {"details":"No column mtu_request in table
>>Interface.","error":"unknown column","syntax":"{\"mtu_request\":9000}"}
>>
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl -- get Interface
>>vhost-user1 mtu
>>1500
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl -- set Interface
>>vhost-user1 mtu=9000
>>
>>[root at localhost openvswitch-2.7.0]# ./utilities/ovs-vsctl -- get Interface
>>vhost-user1 mtu
>>1500
>>
>>
>>
>>Please advise what else I need to do, to successfully set Jumbo MTU on
>>vhostuser ports and to use jumbo traffic.
>>
>>Thanks in advance.
>>
>>Regards,
>>*Sai Kiran*
>>_______________________________________________
>>dev mailing list
>>dev at openvswitch.org
>>https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
>
>
>
>--
>Saikiran V


More information about the dev mailing list