aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2022-04-12 10:01:20 +0800
committerJakub Kicinski <kuba@kernel.org>2022-04-15 11:41:45 -0700
commitbde292c07b480e23137060dad83cca24d55c4cc4 (patch)
tree5106c0fc4f46524cfc3d69f19c991ff4dad3de50 /tools/perf/scripts/python/export-to-sqlite.py
parentnet: ethtool: extend ringparam set/get APIs for tx_push (diff)
downloadlinux-bde292c07b480e23137060dad83cca24d55c4cc4.tar.gz
linux-bde292c07b480e23137060dad83cca24d55c4cc4.zip
net: ethtool: move checks before rtnl_lock() in ethnl_set_rings
Currently these two checks in ethnl_set_rings are added after rtnl_lock() which will do useless works if the request is invalid. So this patch moves these checks before the rtnl_lock() to avoid these costs. Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions