summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2024-10-24 19:41:32 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-29 21:48:26 +0300
commit7999da12a6706f10ef47f2a4d34ebd5bc99a26de (patch)
tree17197931470570359d20b58b6a28c5192479b4b5 /rust/helpers/err.c
parent3f7f3ef44f4b735b577291afdf7a87e6ce4b415d (diff)
downloadlinux-7999da12a6706f10ef47f2a4d34ebd5bc99a26de.tar.xz
net/mlx5e: Update features on MTU change
When the MTU changes successfully, trigger netdev_update_features() to enable features in wanted state if applicable. An example of such scenario: $ ip link set dev eth1 up $ ethtool --set-ring eth1 rx 8192 $ ip link set dev eth1 mtu 9000 $ ethtool --features eth1 rx-gro-hw on --> fails $ ip link set dev eth1 mtu 7000 With this patch, HW GRO will be turned on automatically because it is set in the device's wanted_features. Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241024164134.299646-2-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions