Kernel Vrouter: Not able to set jumbo mtu on vhost0

Bug #1790766 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Critical
Sivakumar Ganapathy
R5.0
Fix Committed
Critical
Sivakumar Ganapathy
Trunk
Fix Committed
Critical
Sivakumar Ganapathy

Bug Description

In Kernel Vrouters running on redhat 7.5 / Centos , setting mtu greater than 1500 is being rejected
On any centos or redhat kernel greater than below this issue is seen

Kernel Version > 3.10.0-693.21.1.el7.x86_64

Redhat has punted the case back to us as it involves vrouter.

https://bugzilla.redhat.com/show_bug.cgi?id=1619780

How reproducible:
 ifconfig vhost0 mtu 8000
SIOCSIFMTU: Invalid argument

[root@server8 ~]# dmesg
[79484.948787] vhost0: Invalid MTU 8000 requested, hw max 1500

Tags: vrouter
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46015
Submitter: Saurabh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/46018
Submitter: Saurabh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/46024
Submitter: Saurabh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/46025
Submitter: Saurabh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/46018
Committed: http://github.com/Juniper/contrail-vrouter/commit/e746164b1c9efd3793590d306e3b2dda6f74afda
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit e746164b1c9efd3793590d306e3b2dda6f74afda
Author: Saurabh Gupta <email address hidden>
Date: Thu Sep 6 15:50:51 2018 +0530

Fix for the bug not allowing custom MTU to be set on vhost interface on
centos kernels. max_mtu is now part of net_device->extended struct. Corrected
the reference and the logic so that the initialization is not skipped.
closes-bug: #1790766

Change-Id: I9db33970943050566d3fb76986b06fa5563fddc8

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/46024
Committed: http://github.com/Juniper/contrail-vrouter/commit/4c85f682d4a9b3aec8526469fb8b9317feb3a1b1
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 4c85f682d4a9b3aec8526469fb8b9317feb3a1b1
Author: Saurabh Gupta <email address hidden>
Date: Thu Sep 6 15:50:51 2018 +0530

Fix for the bug not allowing custom MTU to be set on vhost interface on
centos kernels. max_mtu is now part of net_device->extended struct. Corrected
the reference and the logic so that the initialization is not skipped.
closes-bug: #1790766

Change-Id: I9db33970943050566d3fb76986b06fa5563fddc8

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/46025
Committed: http://github.com/Juniper/contrail-vrouter/commit/e921c5f7ec8a10eb3bba3aeae9cafa67e98d5149
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit e921c5f7ec8a10eb3bba3aeae9cafa67e98d5149
Author: Saurabh Gupta <email address hidden>
Date: Thu Sep 6 15:50:51 2018 +0530

Fix for the bug not allowing custom MTU to be set on vhost interface on
centos kernels. max_mtu is now part of net_device->extended struct. Corrected
the reference and the logic so that the initialization is not skipped.
closes-bug: #1790766

Change-Id: I9db33970943050566d3fb76986b06fa5563fddc8

Vinod Nair (vinodnair)
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.