summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>2018-05-09 00:18:58 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-10 15:28:01 -0400
commitdf13c59b54a9f8d3e20a2fb565d54eee8dac8768 (patch)
treedab79d2f37326542cbe2eb4eccb3f32a05fdd163 /drivers/mailbox
parent680a284635808594b8ac34939a7513dd4320e907 (diff)
downloadlinux-df13c59b54a9f8d3e20a2fb565d54eee8dac8768.tar.bz2
nfp: flower: remove headroom from max MTU calculation
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@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions