diff options
| author | Jian Shen <shenjian15@huawei.com> | 2021-03-22 11:51:58 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-22 13:04:18 -0700 |
| commit | fb72699dfef8706abe203ec8c8fc69a023c161ce (patch) | |
| tree | c4b188ea0e787368cdc98f271bf9ede6a41d8e7a /scripts/objdiff | |
| parent | net: hns3: refactor out hclge_fd_get_tuple() (diff) | |
| download | linux-fb72699dfef8706abe203ec8c8fc69a023c161ce.tar.gz linux-fb72699dfef8706abe203ec8c8fc69a023c161ce.zip | |
net: hns3: refactor for function hclge_fd_convert_tuple
Currently, there are too many branches for hclge_fd_convert_tuple().
And it may be more when add new tuples. Refactor it by sorting the
tuples according to their length. So it only needs several KEY_OPT
now, and being flexible to add new tuples.
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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
