aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-11-29 22:00:27 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-29 14:26:17 +0000
commit1d851c0905f86a3a369c9619b9ed3236758f9999 (patch)
tree728dc1f6c06b3b5c18e0b072087f7c39c107bcda /tools/perf/scripts/python
parentnet: hns3: split function hns3_handle_bdinfo() (diff)
downloadlinux-1d851c0905f86a3a369c9619b9ed3236758f9999.tar.gz
linux-1d851c0905f86a3a369c9619b9ed3236758f9999.zip
net: hns3: split function hns3_set_l2l3l4()
Function hns3_set_l2l3l4() is a bit too long. So add two new functions hns3_set_l3_type() and hns3_set_l4_csum_length() to simplify code and improve code readability. Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions