]> 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)
commit6dbd87ad390d96315be215311eff9b1208943ecd
tree77ac266e67bf96a84280cb605345cd533695ad71
parent318824ab1a055c104515b67504547fcb0840a96c
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