Unverified Commit 73d7383a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9059 roh/hns3: Add ROH client case in hclgevf_init_client_instance.

Merge Pull Request from: @laodazhao 
 
ROH does not support VF. However, the corresponding case needs
to be added when loading VF driver. Otherwise, an error message
will be displayed.

bugzilla: https://gitee.com/openeuler/kernel/issues/IA5AXI?from=project-issue 
 
Link:https://gitee.com/openeuler/kernel/pulls/9059

 

Reviewed-by: default avatarKe Chen <chenke54@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 80b60ac4 5fcf9f9c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2654,6 +2654,9 @@ static int hclgevf_init_client_instance(struct hnae3_client *client,
		if (ret)
			goto clear_roce;

		break;
	/* ROH does not support vf, just do nothing */
	case HNAE3_CLIENT_ROH:
		break;
#if IS_ENABLED(CONFIG_UB_UDMA_HNS3)
	case HNAE3_CLIENT_UDMA: