[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180510.152827.2297604674993831939.davem@davemloft.net>
Date: Thu, 10 May 2018 15:28:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jakub.kicinski@...ronome.com
Cc: oss-drivers@...ronome.com, netdev@...r.kernel.org,
pieter.jansenvanvuuren@...ronome.com
Subject: Re: [PATCH net] nfp: flower: remove headroom from max MTU
calculation
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
Date: Wed, 9 May 2018 00:18:58 -0700
> From: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
>
> Since commit 29a5dcae2790 ("nfp: flower: offload phys port MTU change") we
> take encapsulation headroom into account when calculating the max allowed
> MTU. This is unnecessary as the max MTU advertised by firmware should have
> already accounted for encap headroom.
>
> Subtracting headroom twice brings the max MTU below what's necessary for
> some deployments.
>
> Fixes: 29a5dcae2790 ("nfp: flower: offload phys port MTU change")
> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@...ronome.com>
> Reviewed-by: John Hurley <john.hurley@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Applied.
Powered by blists - more mailing lists