commit | 5f2b1238b33c38478ddc55536b65277b30f5d456 | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Mon Mar 22 11:51:56 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 22 13:04:18 2021 -0700 |
tree | 140024528b4fa3b7d9284296ecf530fbeb153970 | |
parent | 405a129f59384c474343d6261a2e0a75650d29a8 [diff] |
net: hns3: refactor out hclge_add_fd_entry() The process of function hclge_add_fd_entry() is complex and prolix. To make it more readable, extract the process of fs->ring_cookie to a single function. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>