diff options
author | Camelia Groza <camelia.groza@nxp.com> | 2020-11-25 18:53:32 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-30 17:33:18 -0800 |
commit | 828eadbaccc1b8090514d4b7ccc92b4876a0bd12 (patch) | |
tree | 471d3ed89eac6f80c118d769d669bad96773ea6e /LICENSES | |
parent | 86c0c196cbe48f844721783d9162e46bc35c0c5a (diff) |
dpaa_eth: limit the possible MTU range when XDP is enabled
Implement the ndo_change_mtu callback to prevent users from setting an
MTU that would permit processing of S/G frames. The maximum MTU size
is dependent on the buffer size.
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions