[ovs-dev] [patch v1] netdev: If MTU set fails, issue warn log.

Ben Pfaff blp at ovn.org
Wed Apr 18 18:14:26 UTC 2018

On Wed, Apr 18, 2018 at 10:52:58AM -0700, Darrell Ball wrote:
> Recently, an issue was debugged that was thought to be a bond
> failover triggered issue.  It turned out to an vlan interface MTU set issue
> that had nothing to do with bonding or most other likely possibilities.
> Besides the effect of not setting the MTU to the desired value, this can
> result in increased netlink traffic and processing with associated wasted
> work. Let us flag a configuration issue at warn level (rather than dbg) to
> catch the problem early.
> Signed-off-by: Darrell Ball <dlu998 at gmail.com>

Thanks, applied to master.

It's funny that this was originally a WARN but was changed to DBG
without any real rationale in commit 9b02078077b6 ("datapath: Strip down
vport interface : OVS_VPORT_ATTR_MTU") in 2011.

More information about the dev mailing list