]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor out hclge_get_rss_tuple()
authorJian Shen <shenjian15@huawei.com>
Fri, 12 Feb 2021 03:21:06 +0000 (11:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 21:13:15 +0000 (13:13 -0800)
commit5928b66ddc70407b6b5c4377469f79681b5aacd4
tree77ac266e67bf96a84280cb605345cd533695ad71
parentf106bf1c69113cb89b71bcafd22528d17a8bc676
net: hns3: refactor out hclge_get_rss_tuple()

To improve code readability and maintainability, separate
the flow type parsing part and the converting part from
bloated hclge_get_rss_tuple().

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c