aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2019-12-19 14:57:40 +0800
committerDavid S. Miller <[email protected]>2019-12-20 21:20:39 -0800
commitb2598318eb455c306e703ab30e18b88a1dc7df97 (patch)
tree9b2b1f45650722223a58527335d79afd4f208e74 /tools/perf/scripts/python
parente1b5e598e5a51b453328879682b178b4acc15105 (diff)
net: hns3: check FE bit before calling hns3_add_frag()
A BD with FE bit means that it is the last BD of a packet, currently the FE bit is checked before calling hns3_add_frag(), which is unnecessary because the FE bit may have been checked in some case. This patch checks the FE bit before calling hns3_add_frag() after processing the first BD of a SKB and adjust the location of memcpy() to reduce duplication. Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions