diff options
author | Dragos Tatulea <[email protected]> | 2024-10-24 19:41:33 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-29 11:48:26 -0700 |
commit | a7b6c074e42da96c106c6efd8f7925195fe3b411 (patch) | |
tree | e27e0ce99f58f9f9ab875fe64e09d07716e306f3 /tools/perf/scripts/python/task-analyzer.py | |
parent | 7999da12a6706f10ef47f2a4d34ebd5bc99a26de (diff) |
net/mlx5e: Update features on ring size change
When the ring size 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
$ ethtool --set-ring eth1 rx 1024
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 <[email protected]>
Reviewed-by: Gal Pressman <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions