Subject: Re: [PATCH net v2 1/3] ice: Prevent set_channel from changing queues while RDMA active

From: Jakub Kicinski <[email-masked]>
Date: Wed, 4 Jan 2023 20:42:24 -0800

On Tue,  3 Jan 2023 15:07:36 -0800 Tony Nguyen wrote:
> +	mutex_lock(&pf->adev_mutex);
> +	if (pf->adev && pf->adev->dev.driver) {
> +		netdev_err(dev, "Cannot change channels when RDMA is active\n");
> +		ret = -EINVAL;
> +		goto adev_unlock;

Since you're have to respin anyway - perhaps -EBUSY here?