diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-04-14 04:47:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-14 23:47:35 +0300 |
commit | a4d2cdcbb878d4d5828cd4124104c330d2817211 (patch) | |
tree | 724fa7897ef2dc0f4f62f2d2b598c1ba291ca8c9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 92f11ea177cd77ebc790916eb9d3331e1d676b62 (diff) | |
download | linux-a4d2cdcbb878d4d5828cd4124104c330d2817211.tar.xz |
net: hns3: minor refactor for hns3_rx_checksum
Change the parameters of hns3_rx_checksum to be more specific to
what is used internally, rather than passing in a pointer to the
whole hns3_desc. Reduces duplicate code and bring this function
inline with the approach used in hns3_set_gro_param.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions