From: shenhao shenhao21@huawei.com
driver inclusion category: bugfix bugzilla: NA CVE: NA
----------------------------------------------------------
This patch renames parameter "h" into "handle" in function hclge_add_fd_entry_by_arfs() to make its meaning clearer, and to synchronize code with kernel mainline.
Signed-off-by: Guangbin Huang huangguangbin2@huawei.com Signed-off-by: shenhao shenhao21@huawei.com Reviewed-by: Zhong Zhaohui zhongzhaohui@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index 6087def6..65d1bbd 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c @@ -6309,11 +6309,11 @@ static void hclge_fd_build_arfs_rule(const struct hclge_fd_rule_tuples *tuples, memset(&rule->tuples_mask, 0xFF, sizeof(rule->tuples_mask)); }
-static int hclge_add_fd_entry_by_arfs(struct hnae3_handle *h, u16 queue_id, +static int hclge_add_fd_entry_by_arfs(struct hnae3_handle *handle, u16 queue_id, u16 flow_id, struct flow_keys *fkeys) { #ifdef CONFIG_RFS_ACCEL - struct hclge_vport *vport = hclge_get_vport(h); + struct hclge_vport *vport = hclge_get_vport(handle); struct hclge_fd_rule_tuples new_tuples; struct hclge_dev *hdev = vport->back; struct hclge_fd_rule *rule;