lkml.org 
[lkml]   [2024]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 iwl-net] i40e: Prevent setting MTU if greater than MFS
From
Le 14/03/2024 à 17:10, Brett Creeley a écrit :
[...]
> If this is how the max_mtu is determined, does it make sense to set this
> before registering the netdev, i.e. netdev->max_mtu in
> i40e_config_netdev()?


The absolute max is properly set but I think that's only true if we
ensure the value of the MFS.

So if with another patch to set the MFS to the right value when asking a
bigger MTU, having this value makes sense this is the absolute max for
this device.


Erwan,


\
 
 \ /
  Last update: 2024-03-15 11:16    [W:0.180 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site