[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a1be32f-452b-1bbb-00bb-5bc0ed5c3377@intel.com>
Date: Tue, 11 Apr 2023 08:06:27 -0700
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Haiyang Zhang <haiyangz@...rosoft.com>,
<linux-hyperv@...r.kernel.org>, <netdev@...r.kernel.org>
CC: <decui@...rosoft.com>, <kys@...rosoft.com>,
<paulros@...rosoft.com>, <olaf@...fle.de>, <vkuznets@...hat.com>,
<davem@...emloft.net>, <wei.liu@...nel.org>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <leon@...nel.org>,
<longli@...rosoft.com>, <ssengar@...ux.microsoft.com>,
<linux-rdma@...r.kernel.org>, <daniel@...earbox.net>,
<john.fastabend@...il.com>, <bpf@...r.kernel.org>,
<ast@...nel.org>, <sharmaajay@...rosoft.com>, <hawk@...nel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2,net-next, 3/3] net: mana: Add support for jumbo frame
On 4/7/2023 1:59 PM, Haiyang Zhang wrote:
> During probe, get the hardware-allowed max MTU by querying the device
> configuration. Users can select MTU up to the device limit.
> When XDP is in use, limit MTU settings so the buffer size is within
> one page.
> Also, to prevent changing MTU fails, and leaves the NIC in a bad state,
> pre-allocate all buffers before starting the change. So in low memory
> condition, it will return error, without affecting the NIC.
>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
Powered by blists - more mailing lists