Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1593374
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jiri Pirko <jiri@resnulli.us> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] team: use ETH_MAX_MTU as max mtu |
| Date | Mon, 06 Mar 2017 15:10:03 +0100 |
| Message-ID | <ti1uP-Rx-57@gated-at.bofh.it> (permalink) |
| References | <ti1uP-Rx-59@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t41jcPcIBNHUpxkmoBm/SJ9HK3k6c/aVW/W9EumxqCU=; b=b3/rlhGlODvEaVsqLExwPV0yJQs9XYC28hSGzDPJqBFbuk/zm+LZvYm8j2iB6W6J7d P2y94798a+cCRnLuDNqcNhSmodkZpllP24C/eOmOUieFfO0WKXUeAe1UvVBKdQwcZ8os c2GnAM3xTRyJsyVT1d0e/oItYIYlBrkEovI2qq+KDapfVWJ85RwjPKR4fGq0geh1x97L UTbeSflcw62onrqN7EhHCqHf4NxyO89SEypM6c1mjwTX9yH5roQCOu9vNw6sFPqK5fwc XSMtpTA44/IfA0gbAuiNocVyJkfueBYHYFiG0Ucsm3y394RE8FLI1NI1/gT+PUSiVug0 GeqA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t41jcPcIBNHUpxkmoBm/SJ9HK3k6c/aVW/W9EumxqCU=; b=EV9DykP3JoKSHJ2nWnAi05W0DLHEBg7bQWXGrz7sFKDNFZ2G9g2W15c7ihOZXosSFz xcFRNdmDUP26QVarNSG6sCFERa4QRZI9eUaFAyVla+40pdchV6+yO+z/Vi8Fx4oaupdc pzVSecsw4ghnAK7sDpDPRSjghaG9ntvPdv7lfF0lJf//1zg4LO/4WIA7/07CZ+rWDnbd +6X8sFqsDxYanP0/OYMhHfY3UpgUW1qkAUrshBftSdIZmhSqnHXQ5YxEAbOvzFVGfb97 BpekOlocKBpfqisRWLWL46WncHGm1bzrjRHoZzL6gwQ81X2f1QdOMXP1qpFPNeLOEGGd 0RLw== |
| X-Gm-Message-State | AMke39nJRkit/O4lFmdWkHr3S5NV5dwzsvbWSvr5pKPsZHkHPqn8SwuNTlgqJlLXzTJl7Q== |
| X-Received | by 10.223.173.169 with SMTP id w38mr14554198wrc.177.1488808478075; Mon, 06 Mar 2017 05:54:38 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.7.1 (2016-10-04) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 15 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Cong Wang <xiyou.wangcong@gmail.com>, netdev@vger.kernel.org |
| X-Original-Date | Mon, 6 Mar 2017 14:54:36 +0100 |
| X-Original-Message-ID | <20170306135436.GD1822@nanopsycho.orion> |
| X-Original-References | <20170306134858.2096-1-jarod@redhat.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1593374 |
Show key headers only | View raw
Mon, Mar 06, 2017 at 02:48:58PM CET, jarod@redhat.com wrote:
>This restores the ability to set a team device's mtu to anything higher
>than 1500. Similar to the reported issue with bonding, the team driver
>calls ether_setup(), which sets an initial max_mtu of 1500, while the
>underlying hardware can handle something much larger. Just set it to
>ETH_MAX_MTU to support all possible values, and the limitations of the
>underlying devices will prevent setting anything too large.
>
>Fixes: 91572088e3fd ("net: use core MTU range checking in core net infra")
>CC: Cong Wang <xiyou.wangcong@gmail.com>
>CC: Jiri Pirko <jiri@resnulli.us>
>CC: netdev@vger.kernel.org
>Signed-off-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH net] team: use ETH_MAX_MTU as max mtu Jiri Pirko <jiri@resnulli.us> - 2017-03-06 15:10 +0100
csiph-web